mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-23 09:04:15 +00:00
fix segfault for static plugins
Original commit message from CVS: fix segfault for static plugins
This commit is contained in:
parent
e25612f443
commit
ac726511ce
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* gst/gstplugin.c: (gst_plugin_load_file):
|
||||||
|
fix segfault for when original plugin was loaded statically
|
||||||
|
|
||||||
2004-04-05 Benjamin Otte <otte@gnome.org>
|
2004-04-05 Benjamin Otte <otte@gnome.org>
|
||||||
|
|
||||||
* testsuite/debug/category.c: (main):
|
* testsuite/debug/category.c: (main):
|
||||||
|
|
|
@ -330,7 +330,7 @@ gst_plugin_load_file (const gchar * filename, GError ** error)
|
||||||
} else {
|
} else {
|
||||||
free_plugin = FALSE;
|
free_plugin = FALSE;
|
||||||
if (gst_plugin_is_loaded (plugin)) {
|
if (gst_plugin_is_loaded (plugin)) {
|
||||||
if (strcmp (plugin->filename, filename) != 0) {
|
if (plugin->filename && strcmp (plugin->filename, filename) != 0) {
|
||||||
GST_WARNING
|
GST_WARNING
|
||||||
("plugin %p from file \"%s\" with same name %s is already "
|
("plugin %p from file \"%s\" with same name %s is already "
|
||||||
"loaded, aborting loading of \"%s\"", plugin, plugin->filename,
|
"loaded, aborting loading of \"%s\"", plugin, plugin->filename,
|
||||||
|
|
Loading…
Reference in a new issue