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"];