From: Jan Schmidt Date: Tue, 31 Jul 2007 10:10:27 +0000 (+0000) Subject: gst/gstpluginfeature.c: Revert patch from #459466 until after the release and we... X-Git-Tag: RELEASE-0_10_14~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=54852ef3768fd207e07b95eee41646831d994971;p=platform%2Fupstream%2Fgstreamer.git gst/gstpluginfeature.c: Revert patch from #459466 until after the release and we can work out exactly what the proble... Original commit message from CVS: * gst/gstpluginfeature.c: (gst_plugin_feature_finalize), (gst_plugin_feature_set_name): Revert patch from #459466 until after the release and we can work out exactly what the problem is (if any). --- diff --git a/ChangeLog b/ChangeLog index ed89c79..3499df1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-07-31 Jan Schmidt + + * gst/gstpluginfeature.c: (gst_plugin_feature_finalize), + (gst_plugin_feature_set_name): + Revert patch from #459466 until after the release and we can work + out exactly what the problem is (if any). + 2007-07-26 Tim-Philipp Müller * docs/gst/gstreamer-sections.txt: diff --git a/gst/gstpluginfeature.c b/gst/gstpluginfeature.c index 66fdbf1..4430874 100644 --- a/gst/gstpluginfeature.c +++ b/gst/gstpluginfeature.c @@ -68,6 +68,7 @@ gst_plugin_feature_finalize (GObject * object) GST_DEBUG ("finalizing feature %p: '%s'", feature, GST_PLUGIN_FEATURE_NAME (feature)); + g_free (feature->name); g_free (feature->plugin_name); G_OBJECT_CLASS (parent_class)->finalize (object); @@ -183,9 +184,9 @@ gst_plugin_feature_set_name (GstPluginFeature * feature, const gchar * name) if (feature->name) { g_return_if_fail (strcmp (feature->name, name) == 0); } else { - gst_object_set_name (GST_OBJECT (feature), name); - feature->name = GST_OBJECT_NAME (GST_OBJECT (feature)); + feature->name = g_strdup (name); } + gst_object_set_name (GST_OBJECT (feature), feature->name); } /**