cheese r1131 - in trunk: . src



Author: dgsiegel
Date: Tue Nov 11 14:21:56 2008
New Revision: 1131
URL: http://svn.gnome.org/viewvc/cheese?rev=1131&view=rev

Log:
free gslist properly without a memory leak, fixes bug #560347, courtesy of Giuseppe Fuggiano


Modified:
   trunk/ChangeLog
   trunk/src/cheese-gconf.c

Modified: trunk/src/cheese-gconf.c
==============================================================================
--- trunk/src/cheese-gconf.c	(original)
+++ trunk/src/cheese-gconf.c	Tue Nov 11 14:21:56 2008
@@ -95,6 +95,7 @@
         else
           effects = g_strjoin (",", effects, str, NULL);
 
+        g_free (tmp->data);
         tmp = g_slist_next (tmp);
       }
       g_value_set_string (value, effects);



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