Monotone-Parent: 21336607671cae2f88c376198194b888c617d148

Monotone-Revision: 194497a44299aa739388b0b0e04ab2b178c81471

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-10-19T17:36:19
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-10-19 17:36:19 +00:00
parent b80abb0672
commit 97e6754992
2 changed files with 8 additions and 1 deletions
+4
View File
@@ -1,5 +1,9 @@
2006-10-19 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/MailerUI/UIxMailToSelection.m ([UIxMailToSelection -to]):
"to" should be retained, otherwise it will be autoreleased and a
crash will occur.
* UI/Contacts/UIxContactEditor.m ([UIxContactEditor
-writeAction]): updated method to fetch the card before initing
the snapshot.
+4 -1
View File
@@ -114,7 +114,10 @@ static NSArray *headers = nil;
mailto = [self queryParameterForKey:@"mailto"];
if ([mailto length] > 0 && ![to count])
to = [NSArray arrayWithObject: mailto];
{
to = [NSArray arrayWithObject: mailto];
[to retain];
}
return self->to;
}