aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend
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/backend
parent415efc9901808bf6013daaa1d821b1ff013c6b46 (diff)
downloadgsoc2013-evolution-6146f8e036db5c9e816232dfd31fe064427929c6.tar
gsoc2013-evolution-6146f8e036db5c9e816232dfd31fe064427929c6.tar.gz
gsoc2013-evolution-6146f8e036db5c9e816232dfd31fe064427929c6.tar.bz2
gsoc2013-evolution-6146f8e036db5c9e816232dfd31fe064427929c6.tar.lz
gsoc2013-evolution-6146f8e036db5c9e816232dfd31fe064427929c6.tar.xz
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/backend')
-rw-r--r--addressbook/backend/pas/pas-backend-ldap.c1
1 files changed, 1 insertions, 0 deletions
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;
}