From ad6d40bd15b61eccadb8785ca484c2285d882c7a Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 15 Dec 2008 23:03:04 +0000 Subject: [PATCH] Monotone-Parent: b1078ea4dae02277bdf66ea5ad2e7fcdb26dc259 Monotone-Revision: 2f965a12f5d7a6534d7420384246c30f0c8a4bda Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-12-15T23:03:04 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 5 +++++ SoObjects/SOGo/SOGoObject.m | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0e9e5c543..bd5b1c4c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2008-12-15 Wolfgang Sourdeau + * SoObjects/SOGo/SOGoObject.m ([SOGoObject +webdavAclManager]): + same as below. + ([SOGoObject -doesRetainContainer]): return "NO" here in order to + avoid leaks. + * SoObjects/Appointments/SOGoAppointmentFolder.m ([SOGoAppointmentFolder +webdavAclManager]): same as below. diff --git a/SoObjects/SOGo/SOGoObject.m b/SoObjects/SOGo/SOGoObject.m index 5a0ea293b..992a15449 100644 --- a/SoObjects/SOGo/SOGoObject.m +++ b/SoObjects/SOGo/SOGoObject.m @@ -134,7 +134,7 @@ SEL SOGoSelectorForPropertySetter (NSString *property) + (SOGoWebDAVAclManager *) webdavAclManager { - SOGoWebDAVAclManager *aclManager = nil; + static SOGoWebDAVAclManager *aclManager = nil; if (!aclManager) aclManager = [SOGoWebDAVAclManager new]; @@ -246,7 +246,7 @@ SEL SOGoSelectorForPropertySetter (NSString *property) - (BOOL) doesRetainContainer { - return YES; + return NO; } - (id) init