diff --git a/ChangeLog b/ChangeLog index 27b4765d12..e427f01d67 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-03-10 Jan Schmidt,,, + * gst/registries/gstlibxmlregistry.c: (load_plugin), (load_paths): + g_free allocated GstPlugins, since they're not GstObjects. + 2005-03-09 Jan Schmidt * docs/gst/gstreamer-sections.txt: diff --git a/gst/registries/gstlibxmlregistry.c b/gst/registries/gstlibxmlregistry.c index e5fba5d813..ef06ea2af5 100644 --- a/gst/registries/gstlibxmlregistry.c +++ b/gst/registries/gstlibxmlregistry.c @@ -844,7 +844,8 @@ load_plugin (xmlTextReaderPtr reader) } } } - gst_object_unref (GST_OBJECT (plugin)); + g_free (plugin); + return NULL; } @@ -873,6 +874,8 @@ load_paths (xmlTextReaderPtr reader, GstXMLRegistry * registry) } } } + + g_free (plugin); return NULL; }