From ce86b80390092413865180e7c48865d371388ccb Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 29 Aug 2008 20:42:51 +0000 Subject: [PATCH] Don't crash if no shlib is embedded * girepository/gtypelib.c: Don't crash if no shlib is embedded svn path=/trunk/; revision=533 --- gtypelib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtypelib.c b/gtypelib.c index 96d44690f..e889d6998 100644 --- a/gtypelib.c +++ b/gtypelib.c @@ -1962,7 +1962,7 @@ _g_typelib_init (GTypelib *typelib) } } - if (typelib->module == NULL) + if (typelib->module == NULL && shlib != NULL) { GString *shlib_full;