From e420fd76e903bc4713e1d96196935bf1107a9c96 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 16 Nov 2009 15:01:54 +0000 Subject: [PATCH] Monotone-Parent: 5b1d778c72ce4ada23636c851701db22a919ec86 Monotone-Revision: defafb3d42bb34384a710aa31d323d75bb693172 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-11-16T15:01:54 Monotone-Branch: ca.inverse.sogo --- UI/Scheduler/UIxComponentEditor.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/UI/Scheduler/UIxComponentEditor.m b/UI/Scheduler/UIxComponentEditor.m index 147a5b3d2..8bbc3260b 100644 --- a/UI/Scheduler/UIxComponentEditor.m +++ b/UI/Scheduler/UIxComponentEditor.m @@ -1500,7 +1500,7 @@ RANGE(2); jsonScanner = [NSScanner scannerWithString: json]; if ([jsonScanner scanJSONObject: &attendeesData]) { - newAttendees = [NSMutableArray new]; + newAttendees = [NSMutableArray array]; attendees = [attendeesData allValues]; max = [attendees count]; for (count = 0; count < max; count++) @@ -1521,7 +1521,6 @@ RANGE(2); [newAttendees addObject: currentAttendee]; } [component setAttendees: newAttendees]; - [newAttendees release]; } else NSLog(@"Error scanning following JSON:\n%@", json);