From 4fbb949020478eb306389986c8468a0346794673 Mon Sep 17 00:00:00 2001 From: helge Date: Thu, 14 Jul 2005 15:11:02 +0000 Subject: [PATCH] fixed a memleak git-svn-id: http://svn.opengroupware.org/SOGo/trunk@757 d1b88da0-ebda-0310-925b-ed51d893ca5b --- SOGo/UI/Scheduler/ChangeLog | 5 +++++ SOGo/UI/Scheduler/UIxAppointmentView.m | 2 +- SOGo/UI/Scheduler/Version | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/SOGo/UI/Scheduler/ChangeLog b/SOGo/UI/Scheduler/ChangeLog index 4e7da623..8f70e0db 100644 --- a/SOGo/UI/Scheduler/ChangeLog +++ b/SOGo/UI/Scheduler/ChangeLog @@ -1,3 +1,8 @@ +2005-07-14 Helge Hess + + * UIxAppointmentView.m: fixed a small memory leak when creating the + categories string (v0.9.132) + 2005-07-14 Marcus Mueller * product.plist: removed 'schedule' method from SOGoAppointmentFolder diff --git a/SOGo/UI/Scheduler/UIxAppointmentView.m b/SOGo/UI/Scheduler/UIxAppointmentView.m index 08028dec..51f5f691 100644 --- a/SOGo/UI/Scheduler/UIxAppointmentView.m +++ b/SOGo/UI/Scheduler/UIxAppointmentView.m @@ -100,7 +100,7 @@ NSArray *cats; NSMutableString *s; - s = [[NSMutableString alloc] init]; + s = [NSMutableString stringWithCapacity:32]; cats = [((SOGoAppointment *)self->appointment) categories]; count = [cats count]; for(i = 0; i < count; i++) { diff --git a/SOGo/UI/Scheduler/Version b/SOGo/UI/Scheduler/Version index 88983a46..0999fc5b 100644 --- a/SOGo/UI/Scheduler/Version +++ b/SOGo/UI/Scheduler/Version @@ -1,6 +1,6 @@ # Version file -SUBMINOR_VERSION:=131 +SUBMINOR_VERSION:=132 # v0.9.123 requires Appointments v0.9.35 # v0.9.123 requires SOGoUI v0.9.24 -- 2.39.5