[evolution-data-server/gnome-3-10] EDataBook: Fixed memory leak of every EContact succesfully added to the addressbook.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-3-10] EDataBook: Fixed memory leak of every EContact succesfully added to the addressbook.
- Date: Mon, 25 Nov 2013 10:20:28 +0000 (UTC)
commit 85e9eff30ec8f37fb8869a8d7ea0895eb81febc4
Author: Tristan Van Berkom <tristanvb openismus com>
Date: Sun Nov 24 16:11:33 2013 +0900
EDataBook: Fixed memory leak of every EContact succesfully added to the addressbook.
addressbook/libedata-book/e-data-book.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/addressbook/libedata-book/e-data-book.c b/addressbook/libedata-book/e-data-book.c
index c427a23..d0610ef 100644
--- a/addressbook/libedata-book/e-data-book.c
+++ b/addressbook/libedata-book/e-data-book.c
@@ -827,6 +827,7 @@ data_book_complete_create_contacts_cb (GObject *source_object,
contact = g_queue_pop_head (&queue);
uid = e_contact_get_const (contact, E_CONTACT_UID);
strv[ii++] = e_util_utf8_make_valid (uid);
+ g_object_unref (contact);
}
e_dbus_address_book_complete_create_contacts (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]