packages ekiga-3.2.0-malloc.patch
      Pages: < 1 >  DOWNLOAD      
From 1bc70ca544872f5513d151462e8f1172dbfe91fe Mon Sep 17 00:00:00 2001
From: ededu <ededu@localhost>
Date: Mon, 06 Apr 2009 17:45:46 +0000
Subject: Use g_malloc instead of malloc.

svn path=/branches/gnome-2-26/; revision=7852
---
 2009-03-23  Eugen Dedu  <ededu@...>
 
 	* src/gui/accounts.cpp:
diff --git a/src/gui/assistant.cpp b/src/gui/assistant.cpp
index afb63ce..f4b8bcf 100644
--- a/src/gui/assistant.cpp
+++ b/src/gui/assistant.cpp
@@ -1299,7 +1299,7 @@ convert_string_list (const std::vector<std::string> & list)
   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;
--
cgit v0.8.2