ekiga r7852 - in branches/gnome-2-26: . src/gui



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

Log:
Use g_malloc instead of malloc.

Modified:
   branches/gnome-2-26/ChangeLog
   branches/gnome-2-26/src/gui/assistant.cpp

Modified: branches/gnome-2-26/src/gui/assistant.cpp
==============================================================================
--- branches/gnome-2-26/src/gui/assistant.cpp	(original)
+++ branches/gnome-2-26/src/gui/assistant.cpp	Mon Apr  6 17:45:46 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]