diff options
author | Andreas Pokorny <[email protected]> | 2012-12-15 23:28:57 +0100 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-12-17 10:22:26 -0700 |
commit | fd65fb5aa8cceee151965c383283b038b78562cb (patch) | |
tree | 51f5223b6c162f1d971ea41b224c97363130242c /src/gallium/state_trackers/vega/mask.c | |
parent | 9b13e731fa33183b205b4bd84c69c70441867093 (diff) |
vega: fix for object handle leak
frees the object handle when a OpenVG
is destroyed.
Signed-off-by: Andreas Pokorny <[email protected]>
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vega/mask.c')
-rw-r--r-- | src/gallium/state_trackers/vega/mask.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vega/mask.c b/src/gallium/state_trackers/vega/mask.c index e46bbdd768a..ca8edd01686 100644 --- a/src/gallium/state_trackers/vega/mask.c +++ b/src/gallium/state_trackers/vega/mask.c @@ -376,6 +376,7 @@ void mask_layer_destroy(struct vg_mask_layer *layer) vg_context_remove_object(ctx, &layer->base); pipe_sampler_view_reference(&layer->sampler_view, NULL); + vg_free_object(&layer->base); FREE(layer); } |