openni2src: do not leak pool

https://bugzilla.gnome.org/show_bug.cgi?id=736731
This commit is contained in:
Ognyan Tonchev 2014-09-16 11:42:13 +02:00 committed by Sebastian Dröge
parent 31703f9ac3
commit 984bab0bd0

View file

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