From 9d1a9ae76d3e1b10192d6f20e1ef49475854feaa Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 13 Oct 2009 14:09:04 +0000 Subject: [PATCH] Monotone-Parent: c20caa2683b07b4d462317997632facb96fcdd72 Monotone-Revision: 8ce20f3e6c9cc1f103737e56f5dd42c49d70277b Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-10-13T14:09:04 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ SoObjects/SOGo/LDAPSource.m | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 013f0ab23..27a01963d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2009-10-13 Wolfgang Sourdeau + * SoObjects/SOGo/LDAPSource.m (-dealloc): we release the + "searchAttributes" ivar, even though LDAPSource instances are + never deallocated. + * SoObjects/Mailer/SOGoMailObject+Draft.m (-contentForEditing): "keys" must be autoreleased to avoid a leak. diff --git a/SoObjects/SOGo/LDAPSource.m b/SoObjects/SOGo/LDAPSource.m index d0bd79629..112fe2440 100644 --- a/SoObjects/SOGo/LDAPSource.m +++ b/SoObjects/SOGo/LDAPSource.m @@ -196,6 +196,7 @@ static NSLock *lock; [sourceID release]; [modulesConstraints release]; [_scope release]; + [searchAttributes release]; [super dealloc]; }