found; this leads to an incorrect return value of g_module_symbol.]
2000-01-13 Martin Baulig <martin@home-of-linux.org>
* gmodule.c (g_module_open): Check whether `check_init' is not NULL
before we attempt to call it.
+2000-01-13 Martin Baulig <martin@home-of-linux.org>
+
+ * gmodule.c (g_module_open): Check whether `check_init' is not NULL
+ before we attempt to call it.
+
Sun Oct 3 19:30:52 PDT 1999 Manish Singh <yosh@gimp.org>
* gmodule.h
/* check initialization */
if (g_module_symbol (module, "g_module_check_init", (gpointer) &check_init))
- check_failed = check_init (module);
+ if (check_init)
+ check_failed = check_init (module);
/* we don't call unload() if the initialization check failed. */
if (!check_failed)