waylandsink: Fix memory leak of shm allocator
This fixes conflict resolution error introduced in commit: 816d115317c522c87297109de781c63b16146493 http://bugzilla.gnome.org/show_bug.cgi?id=790042
This commit is contained in:
parent
816d115317
commit
c04aba241e
@ -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…
x
Reference in New Issue
Block a user