cheese r1130 - in branches/gnome-2-24: . src



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

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


Modified:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/src/cheese-gconf.c

Modified: branches/gnome-2-24/src/cheese-gconf.c
==============================================================================
--- branches/gnome-2-24/src/cheese-gconf.c	(original)
+++ branches/gnome-2-24/src/cheese-gconf.c	Tue Nov 11 14:21:53 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]