From 489b102a43653efef9aef58e1c19e4c92692a9e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 4 Aug 2012 16:31:30 +0100 Subject: gst_tag_list_free -> gst_tag_list_unref --- gst/camerabin2/gstcamerabin2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gst/camerabin2') diff --git a/gst/camerabin2/gstcamerabin2.c b/gst/camerabin2/gstcamerabin2.c index 8091e8e7f..27c00c045 100644 --- a/gst/camerabin2/gstcamerabin2.c +++ b/gst/camerabin2/gstcamerabin2.c @@ -1868,10 +1868,10 @@ fail: } static void -_gst_tag_list_free_maybe (GstTagList * taglist) +_gst_tag_list_unref_maybe (GstTagList * taglist) { if (taglist) - gst_tag_list_free (taglist); + gst_tag_list_unref (taglist); } static GstStateChangeReturn @@ -1923,7 +1923,7 @@ gst_camera_bin_change_state (GstElement * element, GstStateChange trans) camera->image_location_list = NULL; g_slist_foreach (camera->image_tags_list, - (GFunc) _gst_tag_list_free_maybe, NULL); + (GFunc) _gst_tag_list_unref_maybe, NULL); g_slist_free (camera->image_tags_list); camera->image_tags_list = NULL; g_mutex_unlock (&camera->image_capture_mutex); -- cgit v1.2.1