commit | 6bbd5b8dc52cf9b3589c2d2c369e0cd4f0deae63 | [log] [tgz] |
---|---|---|
author | Sebastian Dröge <sebastian@centricular.com> | Mon Mar 28 13:52:07 2016 +0300 |
committer | Tim-Philipp Müller <tim@centricular.com> | Sat Dec 02 15:10:26 2017 +0000 |
tree | a43cd97f2d758740ee74f68447b5c3fb09364432 | |
parent | 9c0e67bc6e4b68a57e7756aa1936dbd95b631e39 [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.
diff --git a/tests/check/libs/aggregator.c b/tests/check/libs/aggregator.c index 877c4fb..5f6ae2e 100644 --- a/tests/check/libs/aggregator.c +++ b/tests/check/libs/aggregator.c
@@ -342,6 +342,8 @@ g_atomic_int_inc (&test->flush_stop_events); } + gst_mini_object_unref (info->data); + return GST_PAD_PROBE_HANDLED; }