Monotone-Parent: 2af7febd00f4cf3a006ceaf8864e1965236a5511

Monotone-Revision: ae9bb8c02977fbcbedcef40778d6fffefd1fb58c

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-10-13T14:04:02
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2009-10-13 14:04:02 +00:00
parent f0ec2d8956
commit ff237b7b90
4 changed files with 18 additions and 2 deletions

View File

@ -1,3 +1,14 @@
2009-10-13 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Mailer/SOGoMailObject+Draft.m (-contentForEditing):
"keys" must be autoreleased to avoid a leak.
* UI/Common/UIxAclEditor.m (-setUserUIDs): we need to retain the
array of user ids to avoid a zombie.
* UI/Common/UIxPageFrame.m (-dealloc): we release
additionalCSSFiles to avoid a leak.
2009-10-12 Ludovic Marcotte <lmarcotte@inverse.ca>
* Updated patchset to support properly windows-1250

View File

@ -155,7 +155,7 @@
acceptedTypes
= [NSArray arrayWithObjects: @"text/plain", @"text/html", nil];
keys = [NSMutableArray new];
keys = [NSMutableArray array];
[self addRequiredKeysOfStructure: [self bodyStructure]
path: @"" toArray: keys acceptedTypes: acceptedTypes];

View File

@ -161,7 +161,10 @@
- (void) setUserUIDS: (NSString *) retainedUsers
{
if ([retainedUsers length] > 0)
savedUIDs = [retainedUsers componentsSeparatedByString: @","];
{
savedUIDs = [retainedUsers componentsSeparatedByString: @","];
[savedUIDs retain];
}
else
savedUIDs = [NSArray new];
}

View File

@ -53,6 +53,7 @@ static NSString *siteFavicon = nil;
title = nil;
toolbar = nil;
additionalJSFiles = nil;
additionalCSSFiles = nil;
}
return self;
@ -64,6 +65,7 @@ static NSString *siteFavicon = nil;
[title release];
[toolbar release];
[additionalJSFiles release];
[additionalCSSFiles release];
[super dealloc];
}