waylandsink: Free leaked GstStructure

Coverity CID : 1256565
This commit is contained in:
Edward Hervey 2015-01-23 12:44:22 +01:00
parent 88038884a8
commit 2b59d8ab7c

View file

@ -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;
}