summaryrefslogtreecommitdiff
path: root/ext/wayland
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2015-01-23 12:44:22 +0100
committerEdward Hervey <bilboed@bilboed.com>2015-01-23 12:44:22 +0100
commit2b59d8ab7c46a3dd0cc78241b6cc1822407a9aec (patch)
tree4a7c1bc7ae7eebcc8bc92203477f24ff945e4739 /ext/wayland
parent88038884a8a44db7260955c7150bd8af79809ede (diff)
downloadgstreamer-plugins-bad-2b59d8ab7c46a3dd0cc78241b6cc1822407a9aec.tar.gz
waylandsink: Free leaked GstStructure
Coverity CID : 1256565
Diffstat (limited to 'ext/wayland')
-rw-r--r--ext/wayland/gstwaylandsink.c2
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;
}