diff options
author | Ilia Mirkin <[email protected]> | 2013-11-29 05:52:27 -0500 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-12-04 06:20:36 -0800 |
commit | 267679be84de5bc9d2bd0fccb1712bc5cddb6be7 (patch) | |
tree | 424c0749c5879f0e8fb79138abf10075e8fbdf89 /src/mesa/main/context.c | |
parent | c45cf6199fc493538cef33125c8a97a892e2ca83 (diff) |
mesa: don't leak performance monitors on context destroy
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Cc: "10.0" <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 87a4a35451d..658499fa4e3 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1194,6 +1194,7 @@ _mesa_free_context_data( struct gl_context *ctx ) _mesa_free_sync_data(ctx); _mesa_free_varray_data(ctx); _mesa_free_transform_feedback(ctx); + _mesa_free_performance_monitors(ctx); _mesa_reference_buffer_object(ctx, &ctx->Pack.BufferObj, NULL); _mesa_reference_buffer_object(ctx, &ctx->Unpack.BufferObj, NULL); |