aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-11-05 22:25:25 +0800
committerDan Winship <danw@src.gnome.org>2002-11-05 22:25:25 +0800
commit6146f8e036db5c9e816232dfd31fe064427929c6 (patch)
treed565de3ade0b77ef659b24b0012b86d1f049d869 /addressbook
parent415efc9901808bf6013daaa1d821b1ff013c6b46 (diff)
downloadgsoc2013-evolution-6146f8e036db5c9e816232dfd31fe064427929c6.tar.gz
gsoc2013-evolution-6146f8e036db5c9e816232dfd31fe064427929c6.tar.zst
gsoc2013-evolution-6146f8e036db5c9e816232dfd31fe064427929c6.zip
copy a memleak fix from pas-backend-ad.
* backend/pas/pas-backend-ldap.c (send_pending_adds): copy a memleak fix from pas-backend-ad. svn path=/trunk/; revision=18552
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/backend/pas/pas-backend-ldap.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index bcf7eb16f6..330c799207 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-05 Dan Winship <danw@ximian.com>
+
+ * backend/pas/pas-backend-ldap.c (send_pending_adds): copy a
+ memleak fix from pas-backend-ad.
+
2002-11-05 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-card.c: g_date_* => g_date_get_*, fixes
diff --git a/addressbook/backend/pas/pas-backend-ldap.c b/addressbook/backend/pas/pas-backend-ldap.c
index f7442cdf2d..4b180632b4 100644
--- a/addressbook/backend/pas/pas-backend-ldap.c
+++ b/addressbook/backend/pas/pas-backend-ldap.c
@@ -2833,6 +2833,7 @@ send_pending_adds (LDAPSearchOp *search_op)
search_op->num_sent_this_time += search_op->num_pending_adds;
pas_book_view_notify_add (search_op->op.view, search_op->pending_adds);
g_list_foreach (search_op->pending_adds, (GFunc)g_free, NULL);
+ g_list_free (search_op->pending_adds);
search_op->pending_adds = NULL;
search_op->num_pending_adds = 0;
}