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]; }