diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-03-28 13:52:07 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-03-28 13:52:07 +0300 |
commit | 86e57adda2bd5acf029121e1822139df7a4e83fc (patch) | |
tree | 6d790f937829fa9a32962d28c70ef7c21715ca63 /tests | |
parent | ac17cd5d0638b7c45473a3df16d1fa65d0a15051 (diff) | |
download | gstreamer-plugins-bad-86e57adda2bd5acf029121e1822139df7a4e83fc.tar.gz |
aggregator: Fix leak in unit test
GST_PAD_PROBE_HANDLED means that we should've unreffed the probe data,
it was handled by us in one way or another.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/libs/aggregator.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/check/libs/aggregator.c b/tests/check/libs/aggregator.c index 877c4fbab..5f6ae2e2a 100644 --- a/tests/check/libs/aggregator.c +++ b/tests/check/libs/aggregator.c @@ -342,6 +342,8 @@ downstream_probe_cb (GstPad * pad, GstPadProbeInfo * info, TestData * test) g_atomic_int_inc (&test->flush_stop_events); } + gst_mini_object_unref (info->data); + return GST_PAD_PROBE_HANDLED; } |