mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 06:26:15 +01:00
giomodule: return a copy of module name
This is a regression from commit 6dedc0. The clients expect to free the received module name, so the function must return a copy. https://bugzilla.gnome.org/show_bug.cgi?id=756952
This commit is contained in:
parent
144a87a643
commit
3bb8294e00
@ -1036,7 +1036,7 @@ get_gio_module_dir (void)
|
|||||||
#endif
|
#endif
|
||||||
g_free (install_dir);
|
g_free (install_dir);
|
||||||
#else
|
#else
|
||||||
module_dir = GIO_MODULE_DIR;
|
module_dir = g_strdup (GIO_MODULE_DIR);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user