gobject-introspection r499 - trunk/girepository



Author: walters
Date: Tue Aug 26 20:06:42 2008
New Revision: 499
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=499&view=rev

Log:
Fix small memory leak


Modified:
   trunk/girepository/gtypelib.c

Modified: trunk/girepository/gtypelib.c
==============================================================================
--- trunk/girepository/gtypelib.c	(original)
+++ trunk/girepository/gtypelib.c	Tue Aug 26 20:06:42 2008
@@ -1965,6 +1965,7 @@
 	  if (typelib->module == NULL)
             g_warning ("Failed to load shared library '%s' referenced by the typelib: %s",
                        shlib, g_module_error ());
+	  g_string_free (shlib_full, TRUE);
         }
     }
 }



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