[ekiga/gnome-2-26] Fixed bug #577629 (malloc/g_free mismatch)
- From: Eugen Dedu <ededu src gnome org>
- To: svn-commits-list gnome org
- Subject: [ekiga/gnome-2-26] Fixed bug #577629 (malloc/g_free mismatch)
- Date: Mon, 27 Apr 2009 12:30:29 -0400 (EDT)
commit 332250be25b603a21838101933e283a0244b712f
Author: Julien Puydt <jpuydt src gnome org>
Date: Mon Apr 6 16:57:58 2009 +0000
Fixed bug #577629 (malloc/g_free mismatch)
svn path=/trunk/; revision=7850
---
src/gui/preferences.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gui/preferences.cpp b/src/gui/preferences.cpp
index 0d5345e..d401d24 100644
--- a/src/gui/preferences.cpp
+++ b/src/gui/preferences.cpp
@@ -862,7 +862,7 @@ gm_prefs_window_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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]