mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
waylandsink: Fix memory leak of shm allocator
This fixes conflict resolution error introduced in commit:
816d115317
http://bugzilla.gnome.org/show_bug.cgi?id=790042
This commit is contained in:
parent
816d115317
commit
c04aba241e
1 changed files with 1 additions and 1 deletions
|
@ -583,7 +583,7 @@ gst_wayland_sink_propose_allocation (GstBaseSink * bsink, GstQuery * query)
|
|||
g_object_unref (pool);
|
||||
|
||||
alloc = gst_wl_shm_allocator_get ();
|
||||
gst_query_add_allocation_param (query, gst_wl_shm_allocator_get (), NULL);
|
||||
gst_query_add_allocation_param (query, alloc, NULL);
|
||||
gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, NULL);
|
||||
g_object_unref (alloc);
|
||||
|
||||
|
|
Loading…
Reference in a new issue