diff options
author | Timothy Arceri <[email protected]> | 2013-08-26 17:16:08 +1000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-09-04 07:47:48 -0600 |
commit | 6d8dd59cf53d2f47b817d79204a52bb3a46e8c77 (patch) | |
tree | f187b1d6de543007676a6c694b000d06d07f9370 /src/mesa/state_tracker/st_cb_syncobj.c | |
parent | 278372b47e4db8a022d57f60302eec74819e9341 (diff) |
mesa: free object labels when deleting
Signed-off-by: Timothy Arceri <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_cb_syncobj.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_syncobj.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_syncobj.c b/src/mesa/state_tracker/st_cb_syncobj.c index 94bf4861da9..6d875b851a2 100644 --- a/src/mesa/state_tracker/st_cb_syncobj.c +++ b/src/mesa/state_tracker/st_cb_syncobj.c @@ -60,6 +60,7 @@ static void st_delete_sync_object(struct gl_context *ctx, struct st_sync_object *so = (struct st_sync_object*)obj; screen->fence_reference(screen, &so->fence, NULL); + free(so->b.Label); free(so); } |