diff options
author | Edward Hervey <edward.hervey@collabora.co.uk> | 2012-04-12 14:59:31 +0200 |
---|---|---|
committer | Edward Hervey <edward.hervey@collabora.co.uk> | 2012-04-12 14:59:31 +0200 |
commit | ff289bbc7623b020ebe8e9f5c3a54a7c27ade66f (patch) | |
tree | 17c845bfa68d4ff6c5cc725e099362d0c88164e8 | |
parent | bce79fcdc0bc1ded54af3b1c39e5df93c5b14263 (diff) |
consistencychecker: Use gst_object_{ref|unref} where applicable
Allows us to debug object life
-rw-r--r-- | libs/gst/check/gstconsistencychecker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gst/check/gstconsistencychecker.c b/libs/gst/check/gstconsistencychecker.c index 35f325f07..576b57502 100644 --- a/libs/gst/check/gstconsistencychecker.c +++ b/libs/gst/check/gstconsistencychecker.c @@ -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); |