From ad5221ed0e5217fa7d9e79a15cbdd1daf8241bd0 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 2 Sep 2008 02:57:01 +0000 Subject: [PATCH] Monotone-Parent: 2d2d47c8c2a7874ff16e8677d2bb7c3607c56d5c Monotone-Revision: 7b5f08442cc8a464b29abb66c14ba679da84d277 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-09-02T02:57:01 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 3 +++ UI/MailerUI/UIxMailView.m | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index ba30454ba..50baf93d2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-09-01 Wolfgang Sourdeau + * UI/MailerUI/UIxMailEditor.m ([UIxMailEditor -from]): retain the + initialized value of from, otherwise we create a future zombie. + * SoObjects/SOGo/SOGoObject.m ([SOGoObject -initWithName:_nameinContainer:_container]): we no longer retain the context, to avoid making a circular reference. diff --git a/UI/MailerUI/UIxMailView.m b/UI/MailerUI/UIxMailView.m index eaf7bb234..ae248ce1f 100644 --- a/UI/MailerUI/UIxMailView.m +++ b/UI/MailerUI/UIxMailView.m @@ -211,7 +211,6 @@ static NSString *mailETag = nil; inContext: (WOContext *) _ctx { UIxMailRenderingContext *mctx; - NGImap4Connection *conn; if (mailETag != nil) [[_ctx response] setHeader:mailETag forKey:@"etag"]; @@ -225,9 +224,6 @@ static NSString *mailETag = nil; [super appendToResponse: _response inContext: _ctx]; [[_ctx popMailRenderingContext] reset]; - - conn = [[self clientObject] imap4Connection]; - [[conn client] logout]; } @end /* UIxMailView */