mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 19:36:18 +01:00
Don't crash if no shlib is embedded
* girepository/gtypelib.c: Don't crash if no shlib is embedded svn path=/trunk/; revision=533
This commit is contained in:
parent
8baadb8611
commit
ce86b80390
@ -1962,7 +1962,7 @@ _g_typelib_init (GTypelib *typelib)
|
||||
}
|
||||
}
|
||||
|
||||
if (typelib->module == NULL)
|
||||
if (typelib->module == NULL && shlib != NULL)
|
||||
{
|
||||
GString *shlib_full;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user