From dd8e931c582b1deb5d16684696e5590e39ed8832 Mon Sep 17 00:00:00 2001 From: Suman Manjunath Date: Sun, 13 Jul 2008 12:53:53 +0000 Subject: Patch from Keith Packard : Fix for bug #541355 (Remove freed objects from the 'locals' list in each conduit which otherwise frees them again when the conduit is closed.) svn path=/trunk/; revision=35742 --- addressbook/conduit/address-conduit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'addressbook/conduit') diff --git a/addressbook/conduit/address-conduit.c b/addressbook/conduit/address-conduit.c index 1e746ffa71..b88a85eb96 100644 --- a/addressbook/conduit/address-conduit.c +++ b/addressbook/conduit/address-conduit.c @@ -1774,6 +1774,8 @@ free_match (GnomePilotConduitSyncAbs *conduit, g_return_val_if_fail (local != NULL, -1); + ctxt->locals = g_list_remove (ctxt->locals, local); + addrconduit_destroy_record (local); return 0; -- cgit