mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +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
9c0e67bc6e
commit
6bbd5b8dc5
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);
|
g_atomic_int_inc (&test->flush_stop_events);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gst_mini_object_unref (info->data);
|
||||||
|
|
||||||
return GST_PAD_PROBE_HANDLED;
|
return GST_PAD_PROBE_HANDLED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue