From 6bec1d842f670c8a0235319b126e7739fa1a24f8 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 2 Feb 2012 01:38:50 +0000 Subject: [PATCH] Monotone-Parent: ba1ab7317c5e8c4b1e95d7e3f299bfd9ea38b10d Monotone-Revision: 392e0e0b68e0c3efba94a66ecf87596c3d6d967f Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-02-02T01:38:50 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 5 +++++ OpenChange/MAPIApplication.m | 10 +++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index a81a5eb19..c35e36c60 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-02-01 Wolfgang Sourdeau + + * OpenChange/MAPIApplication.m (-setUserContext:): do not retain + the user context. + 2012-02-01 Francis Lachapelle * UI/WebServerResources/UIxCalUserRightsEditor.js (onUpdateACL): diff --git a/OpenChange/MAPIApplication.m b/OpenChange/MAPIApplication.m index ccdb59614..8cdce056d 100644 --- a/OpenChange/MAPIApplication.m +++ b/OpenChange/MAPIApplication.m @@ -67,15 +67,11 @@ MAPIApplication *MAPIApp = nil; return MAPIApp; } -- (void) dealloc -{ - [userContext release]; - [super dealloc]; -} - - (void) setUserContext: (MAPIStoreUserContext *) newContext { - ASSIGN (userContext, newContext); + /* user contexts must not be retained here ad their holder (mapistore) + contexts must be active when any operation occurs. */ + userContext = newContext; } - (id) authenticatorInContext: (id) context