mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
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:
parent
009d01a841
commit
6da18bd898
2 changed files with 8 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue