projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c0e67b
)
aggregator: Fix leak in unit test
author
Sebastian Dröge
<sebastian@centricular.com>
Mon, 28 Mar 2016 10:52:07 +0000
(13:52 +0300)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 2 Dec 2017 15:10:26 +0000
(15:10 +0000)
GST_PAD_PROBE_HANDLED means that we should've unreffed the probe data,
it was handled by us in one way or another.
tests/check/libs/aggregator.c
patch
|
blob
|
history
diff --git
a/tests/check/libs/aggregator.c
b/tests/check/libs/aggregator.c
index
877c4fb
..
5f6ae2e
100644
(file)
--- a/
tests/check/libs/aggregator.c
+++ b/
tests/check/libs/aggregator.c
@@
-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;
}