diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2004-03-14 17:54:22 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2004-03-14 17:54:22 +0000 |
commit | c01cd4e835c47d81677f6d8bcf8ddd9acdf6ff6a (patch) | |
tree | 5b5b62d0136246d70b27c3b803e7d19e955f6062 /gst/registries/gstxmlregistry.c | |
parent | cd0291481239c01be9cdb2b989cff632e73dfccf (diff) |
g_error fix, m/m version fixBEFORE_INDENT
Original commit message from CVS:
g_error fix, m/m version fix
Diffstat (limited to 'gst/registries/gstxmlregistry.c')
-rw-r--r-- | gst/registries/gstxmlregistry.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/registries/gstxmlregistry.c b/gst/registries/gstxmlregistry.c index a805f1af4c..b491bba506 100644 --- a/gst/registries/gstxmlregistry.c +++ b/gst/registries/gstxmlregistry.c @@ -141,6 +141,7 @@ gst_xml_registry_get_type (void) (GInstanceInitFunc) gst_xml_registry_init, NULL }; + xml_registry_type = g_type_register_static (GST_TYPE_REGISTRY, "GstXMLRegistry", &xml_registry_info, 0); } @@ -638,6 +639,7 @@ gst_xml_registry_load_plugin (GstRegistry * registry, GstPlugin * plugin) if (error) { g_warning ("could not load plugin %s: %s", plugin->desc.name, error->message); + g_error_free (error); } return GST_REGISTRY_PLUGIN_LOAD_ERROR; } else if (loaded_plugin != plugin) { |