summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOgnyan Tonchev <ognyan@axis.com>2014-09-10 09:50:45 +0200
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2014-09-10 08:28:12 -0400
commit590985382f29464edb1cf7cce70aa6e14dbfff00 (patch)
treed31910550fc70d4aa134a0f4e5c15bc0207fea46
parent5d0a7ecdd461a6d5d0fa01e33424568ddd39b812 (diff)
v4l2sink: Unref pool after usage
https://bugzilla.gnome.org/show_bug.cgi?id=736384
-rw-r--r--sys/v4l2/gstv4l2sink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/v4l2/gstv4l2sink.c b/sys/v4l2/gstv4l2sink.c
index e9b6efbd8..06693ae36 100644
--- a/sys/v4l2/gstv4l2sink.c
+++ b/sys/v4l2/gstv4l2sink.c
@@ -554,6 +554,7 @@ gst_v4l2sink_propose_allocation (GstBaseSink * bsink, GstQuery * query)
max = min;
gst_query_set_nth_allocation_pool (query, 0, pool, size, min, max);
+ gst_object_unref (pool);
}
return TRUE;