mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-28 08:26: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)
|
if (typelib == NULL)
|
||||||
{
|
{
|
||||||
|
g_free (full_path);
|
||||||
g_set_error (error, G_IREPOSITORY_ERROR,
|
g_set_error (error, G_IREPOSITORY_ERROR,
|
||||||
G_IREPOSITORY_ERROR_TYPELIB_NOT_FOUND,
|
G_IREPOSITORY_ERROR_TYPELIB_NOT_FOUND,
|
||||||
"Typelib file for namespace '%s' was not found in search"
|
"Typelib file for namespace '%s' was not found in search"
|
||||||
|
Loading…
Reference in New Issue
Block a user