mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
consistencychecker: Use gst_object_{ref|unref} where applicable
Allows us to debug object life
This commit is contained in:
parent
bce79fcdc0
commit
ff289bbc76
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ gst_consistency_checker_free (GstStreamConsistency * consist)
|
||||||
for (node = consist->pads; node; node = g_list_next (node)) {
|
for (node = consist->pads; node; node = g_list_next (node)) {
|
||||||
p = (GstStreamConsistencyProbe *) node->data;
|
p = (GstStreamConsistencyProbe *) node->data;
|
||||||
gst_pad_remove_probe (p->pad, p->probeid);
|
gst_pad_remove_probe (p->pad, p->probeid);
|
||||||
g_object_unref (p->pad);
|
gst_object_unref (p->pad);
|
||||||
g_free (p);
|
g_free (p);
|
||||||
}
|
}
|
||||||
g_list_free (consist->pads);
|
g_list_free (consist->pads);
|
||||||
|
|
Loading…
Reference in a new issue