summaryrefslogtreecommitdiff
path: root/gst/gstpluginfeature.c
diff options
context:
space:
mode:
authorEdward Hervey <edward.hervey@collabora.co.uk>2012-04-12 14:58:47 +0200
committerEdward Hervey <edward.hervey@collabora.co.uk>2012-04-12 14:58:47 +0200
commitbce79fcdc0bc1ded54af3b1c39e5df93c5b14263 (patch)
tree79a58a847f466fd164af46b78e73a609de83db59 /gst/gstpluginfeature.c
parent82c92a9c7c5c88fd3d565dbebeeab18862d6f214 (diff)
gst: Use gst_object_{ref|unref} where applicable
Allows us to debug object life
Diffstat (limited to 'gst/gstpluginfeature.c')
-rw-r--r--gst/gstpluginfeature.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/gstpluginfeature.c b/gst/gstpluginfeature.c
index 5b86fd3027..e61fee2693 100644
--- a/gst/gstpluginfeature.c
+++ b/gst/gstpluginfeature.c
@@ -221,7 +221,7 @@ gst_plugin_feature_list_copy (GList * list)
GList *last;
new_list = g_list_alloc ();
- new_list->data = g_object_ref ((GObject *) list->data);
+ new_list->data = gst_object_ref (list->data);
new_list->prev = NULL;
last = new_list;
list = list->next;
@@ -229,7 +229,7 @@ gst_plugin_feature_list_copy (GList * list)
last->next = g_list_alloc ();
last->next->prev = last;
last = last->next;
- last->data = g_object_ref ((GObject *) list->data);
+ last->data = gst_object_ref (list->data);
list = list->next;
}
last->next = NULL;