diff options
author | Edward Hervey <bilboed@bilboed.com> | 2015-01-23 12:44:22 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2015-01-23 12:44:22 +0100 |
commit | 2b59d8ab7c46a3dd0cc78241b6cc1822407a9aec (patch) | |
tree | 4a7c1bc7ae7eebcc8bc92203477f24ff945e4739 | |
parent | 88038884a8a44db7260955c7150bd8af79809ede (diff) | |
download | gstreamer-plugins-bad-2b59d8ab7c46a3dd0cc78241b6cc1822407a9aec.tar.gz |
waylandsink: Free leaked GstStructure
Coverity CID : 1256565
-rw-r--r-- | ext/wayland/gstwaylandsink.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/wayland/gstwaylandsink.c b/ext/wayland/gstwaylandsink.c index d666a201c..b4d6f61a8 100644 --- a/ext/wayland/gstwaylandsink.c +++ b/ext/wayland/gstwaylandsink.c @@ -524,6 +524,8 @@ gst_wayland_sink_propose_allocation (GstBaseSink * bsink, GstQuery * query) gst_query_add_allocation_pool (query, sink->pool, size, min_bufs, max_bufs); gst_query_add_allocation_param (query, gst_wl_shm_allocator_get (), NULL); + gst_structure_free (config); + return TRUE; } |