mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue