mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 23:58:54 +02: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:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user