mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-28 21:22:11 +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;
|
GString *shlib_full;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user