ekiga r7850 - trunk/src/gui



Author: jpuydt
Date: Mon Apr  6 16:57:58 2009
New Revision: 7850
URL: http://svn.gnome.org/viewvc/ekiga?rev=7850&view=rev

Log:
Fixed bug #577629 (malloc/g_free mismatch)

Modified:
   trunk/src/gui/preferences.cpp

Modified: trunk/src/gui/preferences.cpp
==============================================================================
--- trunk/src/gui/preferences.cpp	(original)
+++ trunk/src/gui/preferences.cpp	Mon Apr  6 16:57:58 2009
@@ -862,7 +862,7 @@
   gchar **array = NULL;
   unsigned i;
 
-  array = (gchar**) malloc (sizeof(gchar*) * (list.size() + 1));
+  array = (gchar**) g_malloc (sizeof(gchar*) * (list.size() + 1));
   for (i = 0; i < list.size(); i++)
     array[i] = (gchar*) list[i].c_str();
   array[i] = NULL;



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