consistencychecker: Use gst_object_{ref|unref} where applicable

Allows us to debug object life
This commit is contained in:
Edward Hervey 2012-04-12 14:59:31 +02:00
parent bce79fcdc0
commit ff289bbc76

View file

@ -276,7 +276,7 @@ gst_consistency_checker_free (GstStreamConsistency * consist)
for (node = consist->pads; node; node = g_list_next (node)) {
p = (GstStreamConsistencyProbe *) node->data;
gst_pad_remove_probe (p->pad, p->probeid);
g_object_unref (p->pad);
gst_object_unref (p->pad);
g_free (p);
}
g_list_free (consist->pads);