mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
waylandsink: Free leaked GstStructure
Coverity CID : 1256565
This commit is contained in:
parent
88038884a8
commit
2b59d8ab7c
1 changed files with 2 additions and 0 deletions
|
@ -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_pool (query, sink->pool, size, min_bufs, max_bufs);
|
||||||
gst_query_add_allocation_param (query, gst_wl_shm_allocator_get (), NULL);
|
gst_query_add_allocation_param (query, gst_wl_shm_allocator_get (), NULL);
|
||||||
|
|
||||||
|
gst_structure_free (config);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue