mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 08:55:33 +00:00
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).
This commit is contained in:
parent
36c2aadf25
commit
54852ef376
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* 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 <tim at centricular dot net>
|
||||
|
||||
* docs/gst/gstreamer-sections.txt:
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue