consistencychecker: Use gst_object_{ref|unref} where applicable
authorEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 12 Apr 2012 12:59:31 +0000 (14:59 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 12 Apr 2012 12:59:31 +0000 (14:59 +0200)
Allows us to debug object life

libs/gst/check/gstconsistencychecker.c

index 35f325f..576b575 100644 (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);