diff options
-rw-r--r-- | src/mesa/state_tracker/st_cb_queryobj.c | 1 | ||||
-rw-r--r-- | src/mesa/state_tracker/st_cb_xformfb.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_queryobj.c b/src/mesa/state_tracker/st_cb_queryobj.c index 460c3e71ff9..9694876cd64 100644 --- a/src/mesa/state_tracker/st_cb_queryobj.c +++ b/src/mesa/state_tracker/st_cb_queryobj.c @@ -86,6 +86,7 @@ st_DeleteQuery(struct gl_context *ctx, struct gl_query_object *q) free_queries(pipe, stq); + free(q->Label); free(stq); } diff --git a/src/mesa/state_tracker/st_cb_xformfb.c b/src/mesa/state_tracker/st_cb_xformfb.c index 4be9a7f659e..e591c58d2b7 100644 --- a/src/mesa/state_tracker/st_cb_xformfb.c +++ b/src/mesa/state_tracker/st_cb_xformfb.c @@ -100,6 +100,7 @@ st_delete_transform_feedback(struct gl_context *ctx, _mesa_reference_buffer_object(ctx, &sobj->base.Buffers[i], NULL); } + free(obj->Label); free(obj); } |