mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-06 16:19:59 +00:00
openni2src: do not leak pool
https://bugzilla.gnome.org/show_bug.cgi?id=736731
This commit is contained in:
parent
31703f9ac3
commit
984bab0bd0
1 changed files with 2 additions and 0 deletions
|
@ -511,6 +511,8 @@ gst_openni2src_decide_allocation (GstBaseSrc * bsrc, GstQuery * query)
|
|||
else
|
||||
gst_query_add_allocation_pool (query, pool, size, min, max);
|
||||
|
||||
gst_object_unref (pool);
|
||||
|
||||
return GST_BASE_SRC_CLASS (parent_class)->decide_allocation (bsrc, query);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue