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.
This commit is contained in:
Sebastian Dröge 2016-03-28 13:52:07 +03:00 committed by Tim-Philipp Müller
parent 9c0e67bc6e
commit 6bbd5b8dc5

View file

@ -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;
}