[evolution-data-server] ebook: Remove duplicate free from array_to_stringlist helper (#625750)
- From: Rob Bradford <rbradford src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] ebook: Remove duplicate free from array_to_stringlist helper (#625750)
- Date: Sun, 1 Aug 2010 17:06:35 +0000 (UTC)
commit 4711dd850a03eff2f6e8033f31408049425480c4
Author: Rob Bradford <rob linux intel com>
Date: Sun Aug 1 10:52:02 2010 +0100
ebook: Remove duplicate free from array_to_stringlist helper (#625750)
The helper function array_to_stringlist function tried to free the string
array despite it being freed by the caller as well.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=625750
addressbook/libebook/e-book.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/addressbook/libebook/e-book.c b/addressbook/libebook/e-book.c
index 4c6ad56..c2cd5c8 100644
--- a/addressbook/libebook/e-book.c
+++ b/addressbook/libebook/e-book.c
@@ -3414,7 +3414,6 @@ array_to_stringlist (gchar **list)
while (*i != NULL) {
l = g_list_prepend (l, g_strdup (*i++));
}
- g_free (list);
return g_list_reverse(l);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]