[Goodies-commits] r1902 - xfce4-taskmanager/trunk/src

Johannes Zellner nebulon at xfce.org
Wed Aug 16 00:03:20 CEST 2006


Author: nebulon
Date: 2006-08-15 22:03:18 +0000 (Tue, 15 Aug 2006)
New Revision: 1902

Modified:
   xfce4-taskmanager/trunk/src/interface.c
Log:


Modified: xfce4-taskmanager/trunk/src/interface.c
===================================================================
--- xfce4-taskmanager/trunk/src/interface.c	2006-08-15 21:45:50 UTC (rev 1901)
+++ xfce4-taskmanager/trunk/src/interface.c	2006-08-15 22:03:18 UTC (rev 1902)
@@ -416,14 +416,11 @@
 		s2 = "";
 
 	ret = strcmp(s1, s2);
-
-	/* if not commented it produces segfaults
-	if commented it produces mem-leak X-(   ->> have to fix */
 	
-	/*if(s1 == NULL)
+	if(s1 != NULL)
 		g_free(s1);
 	if(s2 != NULL)
-		g_free(s2);*/
+		g_free(s2);
 	
 	return ret;
 }




More information about the Goodies-commits mailing list