ekiga r6287 - trunk/lib/gui



Author: jpuydt
Date: Tue May 20 13:01:16 2008
New Revision: 6287
URL: http://svn.gnome.org/viewvc/ekiga?rev=6287&view=rev

Log:
Don't free memory you don't own!


Modified:
   trunk/lib/gui/codecsbox.cpp

Modified: trunk/lib/gui/codecsbox.cpp
==============================================================================
--- trunk/lib/gui/codecsbox.cpp	(original)
+++ trunk/lib/gui/codecsbox.cpp	Tue May 20 13:01:16 2008
@@ -343,9 +343,6 @@
   if (clist != curlist)
     codecs_box_set_codecs (self, list);
 
-  g_slist_foreach (list, (GFunc) g_free, NULL);
-  g_slist_free (list);
-
   g_slist_foreach (current_list, (GFunc) g_free, NULL);
   g_slist_free (current_list);
 }



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