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:
parent
ac17cd5d06
commit
86e57adda2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user