diff options
author | Sergii Romantsov <[email protected]> | 2019-07-17 18:59:28 +0300 |
---|---|---|
committer | Sergii Romantsov <[email protected]> | 2019-07-22 12:39:32 +0300 |
commit | 253be494022c415b766eff47560b80ba7b577a02 (patch) | |
tree | 79ab9b5c089c7dbef8031e650c618f6c72b92a00 /src/mesa/drivers/dri/i965/brw_sync.c | |
parent | 915abbe932ebe0b5859dc871cb3bac8703b5823c (diff) |
i965: free object labels when deleting
Some leaks detected with GL_KHR_debug on i965.
CC: Timothy Arceri <[email protected]>
Signed-off-by: Sergii Romantsov <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_sync.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_sync.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_sync.c b/src/mesa/drivers/dri/i965/brw_sync.c index 63916488791..d5e2d079380 100644 --- a/src/mesa/drivers/dri/i965/brw_sync.c +++ b/src/mesa/drivers/dri/i965/brw_sync.c @@ -354,6 +354,7 @@ brw_gl_delete_sync(struct gl_context *ctx, struct gl_sync_object *_sync) struct brw_gl_sync *sync = (struct brw_gl_sync *) _sync; brw_fence_finish(&sync->fence); + free(sync->gl.Label); free(sync); } |