mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 18:52:09 +01:00
Make sure to not return TRUE if symbol is NULL. (#334440, ITOH Yasufumi)
2006-03-29 Matthias Clasen <mclasen@redhat.com> * gmodule.c (g_module_symbol): Make sure to not return TRUE if symbol is NULL. (#334440, ITOH Yasufumi)
This commit is contained in:
parent
e83eaad6b9
commit
22eb9cddb9
@ -1,3 +1,9 @@
|
||||
2006-03-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gmodule.c (g_module_symbol): Make sure to
|
||||
not return TRUE if symbol is NULL. (#334440,
|
||||
ITOH Yasufumi)
|
||||
|
||||
2006-03-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* === Released 2.10.1 ===
|
||||
|
@ -601,7 +601,7 @@ g_module_symbol (GModule *module,
|
||||
}
|
||||
|
||||
g_static_rec_mutex_unlock (&g_module_global_lock);
|
||||
return !module_error;
|
||||
return *symbol != NULL;
|
||||
}
|
||||
|
||||
G_CONST_RETURN gchar*
|
||||
|
Loading…
x
Reference in New Issue
Block a user