aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/backend/ebook/e-book-listener.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 3f0fb43119..6d686dc52c 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,11 @@
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.
+
+2001-06-20 Chris Toshok <toshok@ximian.com>
+
* contact-editor/e-contact-editor.c: add prototype for
close_dialog to remove warnings.
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);