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 --- calendar/conduits/memo/memo-conduit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'calendar/conduits/memo/memo-conduit.c') diff --git a/calendar/conduits/memo/memo-conduit.c b/calendar/conduits/memo/memo-conduit.c index f09abc94b3..1a9638b0ce 100644 --- a/calendar/conduits/memo/memo-conduit.c +++ b/calendar/conduits/memo/memo-conduit.c @@ -1302,6 +1302,8 @@ free_match (GnomePilotConduitSyncAbs *conduit, g_return_val_if_fail (local != NULL, -1); + ctxt->locals = g_list_remove (ctxt->locals, local); + memoconduit_destroy_record (local); return 0; -- cgit v1.2.3