aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-module.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ephy-module.c b/lib/ephy-module.c
index 86fa9bbe6..7e6040414 100644
--- a/lib/ephy-module.c
+++ b/lib/ephy-module.c
@@ -152,6 +152,9 @@ ephy_module_load (GTypeModule *gmodule)
if (module->type == 0)
{
+ g_warning ("Failed to register the GType(s)!");
+ g_module_close (module->library);
+
return FALSE;
}