mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
Fix one small leak in error case.
2008-08-21 Colin Walters <walters@verbum.org> * girepository/girparser.c (g_irepository_require): Fix one small leak in error case. svn path=/trunk/; revision=434
This commit is contained in:
parent
9152ea35ab
commit
3011ce4539
@ -552,6 +552,7 @@ g_irepository_require (GIRepository *repository,
|
||||
|
||||
if (typelib == NULL)
|
||||
{
|
||||
g_free (full_path);
|
||||
g_set_error (error, G_IREPOSITORY_ERROR,
|
||||
G_IREPOSITORY_ERROR_TYPELIB_NOT_FOUND,
|
||||
"Typelib file for namespace '%s' was not found in search"
|
||||
|
Loading…
Reference in New Issue
Block a user