Commit 9d8db57e authored by Wim Taymans's avatar Wim Taymans
Browse files

videotestsrc: don't leak the bufferpool

parent 679b9b16
......@@ -631,6 +631,9 @@ gst_video_test_src_decide_allocation (GstBaseSrc * bsrc, GstQuery * query)
gst_query_set_allocation_params (query, size, min, max, prefix,
alignment, pool);
if (pool)
gst_object_unref (pool);
return TRUE;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment