gst/registries/gstlibxmlregistry.c: g_free allocated GstPlugins, since they're not GstObjects.

Original commit message from CVS:
* gst/registries/gstlibxmlregistry.c: (load_plugin), (load_paths):
g_free allocated GstPlugins, since they're not GstObjects.
This commit is contained in:
Jan Schmidt 2005-03-09 14:54:54 +00:00
parent 009d01a841
commit 6da18bd898
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2005-03-10 Jan Schmidt,,, <thaytan@mad.scientist.com>
* gst/registries/gstlibxmlregistry.c: (load_plugin), (load_paths):
g_free allocated GstPlugins, since they're not GstObjects.
2005-03-09 Jan Schmidt <thaytan@mad.scientist.com>
* docs/gst/gstreamer-sections.txt:

View file

@ -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;
}