Some leaks detected with GL_KHR_debug on i965.
CC: Timothy Arceri <t_arceri@yahoo.com.au>
Signed-off-by: Sergii Romantsov <sergii.romantsov@globallogic.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
struct brw_query_object *query = (struct brw_query_object *)q;
brw_bo_unreference(query->bo);
+ free(query->Base.Label);
free(query);
}
struct brw_gl_sync *sync = (struct brw_gl_sync *) _sync;
brw_fence_finish(&sync->fence);
+ free(sync->gl.Label);
free(sync);
}
brw_bo_unreference(brw_obj->offset_bo);
brw_bo_unreference(brw_obj->prim_count_bo);
+ free(obj->Label);
free(brw_obj);
}