From ae82e0bef921724fd8057806f038f405920f99a8 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 11 May 2007 21:23:46 +0000 Subject: [PATCH] Monotone-Parent: 487bd18ac638478f769ea4425a0640978c5b751b Monotone-Revision: 93b249ad54b90ecf9cac7b9e49f4b6133a28358d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-05-11T21:23:46 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ UI/Common/UIxFolderActions.m | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index adc1680ce..fb289d68e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-05-11 Wolfgang Sourdeau + * UI/Common/UIxFolderActions.m ([UIxFolderActions + -subscribeAction]): folderDict was not autoreleased, resulting in + a leak... + * SoObjects/SOGo/AgenorUserDefaults.m ([AgenorUserDefaults -primaryFetchProfile]): when building with libFoundation, don't use the "propertyList" method from NSString. Rather, we convert diff --git a/UI/Common/UIxFolderActions.m b/UI/Common/UIxFolderActions.m index 25480d1b1..fdd9f8017 100644 --- a/UI/Common/UIxFolderActions.m +++ b/UI/Common/UIxFolderActions.m @@ -129,7 +129,7 @@ else folderName = email; - folderDict = [NSMutableDictionary new]; + folderDict = [NSMutableDictionary dictionary]; [folderDict setObject: folderName forKey: @"displayName"]; [folderDict setObject: [NSNumber numberWithBool: NO] forKey: @"active"];