ekiga r7851 - in trunk: . src/gui



Author: ededu
Date: Mon Apr  6 17:44:44 2009
New Revision: 7851
URL: http://svn.gnome.org/viewvc/ekiga?rev=7851&view=rev

Log:
Use g_malloc instead of malloc.

Modified:
   trunk/ChangeLog
   trunk/src/gui/assistant.cpp

Modified: trunk/src/gui/assistant.cpp
==============================================================================
--- trunk/src/gui/assistant.cpp	(original)
+++ trunk/src/gui/assistant.cpp	Mon Apr  6 17:44:44 2009
@@ -1299,7 +1299,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]