aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-06-21 12:30:06 +0800
committerChris Toshok <toshok@src.gnome.org>2001-06-21 12:30:06 +0800
commit67961cf692522cfb8415f336efb97ffddae9ca93 (patch)
tree8710c977b269fd29a6ed42ea882a09b4971dba07 /addressbook/backend
parent7b529b4df25ebdecf84ebbb974060534cf1d776e (diff)
downloadgsoc2013-evolution-67961cf692522cfb8415f336efb97ffddae9ca93.tar
gsoc2013-evolution-67961cf692522cfb8415f336efb97ffddae9ca93.tar.gz
gsoc2013-evolution-67961cf692522cfb8415f336efb97ffddae9ca93.tar.bz2
gsoc2013-evolution-67961cf692522cfb8415f336efb97ffddae9ca93.tar.lz
gsoc2013-evolution-67961cf692522cfb8415f336efb97ffddae9ca93.tar.xz
gsoc2013-evolution-67961cf692522cfb8415f336efb97ffddae9ca93.tar.zst
gsoc2013-evolution-67961cf692522cfb8415f336efb97ffddae9ca93.zip
fix memory leak.
2001-06-20 Chris Toshok <toshok@ximian.com> * backend/ebook/e-book-listener.c (e_book_listener_queue_get_supported_fields_response): fix memory leak. svn path=/trunk/; revision=10350
Diffstat (limited to 'addressbook/backend')
-rw-r--r--addressbook/backend/ebook/e-book-listener.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/backend/ebook/e-book-listener.c b/addressbook/backend/ebook/e-book-listener.c
index b483d10d87..80eff4f3ca 100644
--- a/addressbook/backend/ebook/e-book-listener.c
+++ b/addressbook/backend/ebook/e-book-listener.c
@@ -233,7 +233,7 @@ e_book_listener_queue_get_supported_fields_response (EBookListener *listener,
resp->fields = e_list_new ((EListCopyFunc)g_strdup, (EListFreeFunc)g_free, NULL);
for (i = 0; i < fields->_length; i ++) {
- e_list_append (resp->fields, g_strdup (fields->_buffer[i]));
+ e_list_append (resp->fields, fields->_buffer[i]);
}
e_book_listener_queue_response (listener, resp);