[Xfce4-commits] r30144 - terminal/trunk/terminal

Nick Schermer nick at xfce.org
Thu Jul 2 22:48:42 CEST 2009


Author: nick
Date: 2009-07-02 20:48:42 +0000 (Thu, 02 Jul 2009)
New Revision: 30144

Modified:
   terminal/trunk/terminal/terminal-screen.c
Log:
Plug memory leak.


Modified: terminal/trunk/terminal/terminal-screen.c
===================================================================
--- terminal/trunk/terminal/terminal-screen.c	2009-07-02 20:45:00 UTC (rev 30143)
+++ terminal/trunk/terminal/terminal-screen.c	2009-07-02 20:48:42 UTC (rev 30144)
@@ -521,6 +521,8 @@
         result[n++] = g_strconcat (*p, "=", value, NULL);
     }
 
+  g_strfreev (env);
+
   result[n++] = g_strdup ("COLORTERM=Terminal");
 
   g_object_get (G_OBJECT (screen->preferences), "term", &term, NULL);




More information about the Xfce4-commits mailing list