summaryrefslogtreecommitdiff
path: root/tests/check
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-03-28 13:52:07 +0300
committerSebastian Dröge <sebastian@centricular.com>2016-03-28 13:52:07 +0300
commit86e57adda2bd5acf029121e1822139df7a4e83fc (patch)
tree6d790f937829fa9a32962d28c70ef7c21715ca63 /tests/check
parentac17cd5d0638b7c45473a3df16d1fa65d0a15051 (diff)
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/check')
-rw-r--r--tests/check/libs/aggregator.c2
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;
}