From 8b51d0728f4a147affb295ead5437646eefdc7ea Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Wed, 1 Jul 2009 19:58:44 +0000 Subject: [PATCH] Monotone-Parent: 4540bdac2b25e94022f859ccd01e9fd4f28ef349 Monotone-Revision: 5547fe230efee84f5079734d9e6dccd6e02bc161 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-07-01T19:58:44 Monotone-Branch: ca.inverse.sogo --- SOPE/sope-patchset-r1657.diff | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/SOPE/sope-patchset-r1657.diff b/SOPE/sope-patchset-r1657.diff index b15d0e882..043e5ff28 100644 --- a/SOPE/sope-patchset-r1657.diff +++ b/SOPE/sope-patchset-r1657.diff @@ -969,6 +969,15 @@ Index: sope-mime/NGImap4/NGImap4Connection.m #include "imCommon.h" @implementation NGImap4Connection +@@ -66,7 +67,7 @@ + self->creationTime = [[NSDate alloc] init]; + + // TODO: retrieve from IMAP4 instead of using a default +- self->separator = imap4Separator; ++ self->separator = [imap4Separator copy]; + } + return self; + } @@ -321,13 +322,15 @@ return nil; if ([folderName characterAtIndex:0] == '/') @@ -1671,7 +1680,13 @@ Index: sope-mime/NGImap4/ChangeLog =================================================================== --- sope-mime/NGImap4/ChangeLog (revision 1660) +++ sope-mime/NGImap4/ChangeLog (working copy) -@@ -1,3 +1,39 @@ +@@ -1,3 +1,45 @@ ++2009-07-01 Wolfgang Sourdeau ++ ++ * NGImap4Connection.m (-initWithClient:password:): we need to copy ++ the imap4Separator, otherwise it will be released when the connection ++ is deallocated. ++ +2009-06-15 Wolfgang Sourdeau + + * NSString+Imap4.m (-stringByEncodingImap4FolderName,