gtranslator r3762 - in trunk/src: . plugin-system



Author: icq
Date: Mon Sep 22 09:47:17 2008
New Revision: 3762
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3762&view=rev

Log:
2008-09-03  Ignacio Casal Quinteiro  <nacho resa gmail com>

        * plugin-system/plugins-engine.c:
        Fixed memory leak.

Modified:
   trunk/src/ChangeLog
   trunk/src/plugin-system/plugins-engine.c

Modified: trunk/src/plugin-system/plugins-engine.c
==============================================================================
--- trunk/src/plugin-system/plugins-engine.c	(original)
+++ trunk/src/plugin-system/plugins-engine.c	Mon Sep 22 09:47:17 2008
@@ -194,6 +194,8 @@
 		gtranslator_plugins_engine_load_dir (engine, pdirs[i], active_plugins);
 
 	g_strfreev (pdirs);
+	g_list_foreach (active_plugins, (GFunc) g_free, NULL);
+	g_list_free (active_plugins);
 }
 
 static void



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