gobject-introspection r434 - in trunk: . girepository



Author: walters
Date: Thu Aug 21 13:26:53 2008
New Revision: 434
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=434&view=rev

Log:
2008-08-21  Colin Walters  <walters verbum org>

	* girepository/girparser.c (g_irepository_require):
	Fix one small leak in error case.


Modified:
   trunk/ChangeLog
   trunk/girepository/girepository.c

Modified: trunk/girepository/girepository.c
==============================================================================
--- trunk/girepository/girepository.c	(original)
+++ trunk/girepository/girepository.c	Thu Aug 21 13:26:53 2008
@@ -552,6 +552,7 @@
 
   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"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]