From 5b53a774b40e11a66b033201c23395389c1ef14b Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 23 Oct 2009 21:10:42 +0000 Subject: [PATCH] Monotone-Parent: 991fcab97beb9fd908675007805ffd9ce421800e Monotone-Revision: 760d573fee6952b29d9ca4af9a156792105a962b Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-10-23T21:10:42 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 1 + SoObjects/Contacts/SOGoContactSourceFolder.m | 1 + 2 files changed, 2 insertions(+) diff --git a/ChangeLog b/ChangeLog index 1b7b90a41..f93cd2b65 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ * SoObjects/Contacts/SOGoContactSourceFolder.m (-initWithName:andDisplayName:inContainer:): use the source name when the displayname is nil. + (-dealloc): we release the display name to avoid a leak. * SoObjects/SOGo/SOGoUserManager.m (_registerSource:): added sanity checks and warnings to the user. diff --git a/SoObjects/Contacts/SOGoContactSourceFolder.m b/SoObjects/Contacts/SOGoContactSourceFolder.m index 83fa114e2..f90de406f 100644 --- a/SoObjects/Contacts/SOGoContactSourceFolder.m +++ b/SoObjects/Contacts/SOGoContactSourceFolder.m @@ -136,6 +136,7 @@ { [entries release]; [source release]; + [displayName release]; [super dealloc]; }