From 0aaaf5981426c29888b0932c6b44b8c543e233b5 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 29 Sep 2009 18:17:57 +0000 Subject: [PATCH] Monotone-Parent: 8c914c816a751fb10558f36e868a2bdcff53b86b Monotone-Revision: 90509c89f14ff1a8b0d7884244366bd33783ccc1 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-09-29T18:17:57 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ SoObjects/SOGo/SOGoObject.m | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index cff90b008..8ac0b9715 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2009-09-29 Wolfgang Sourdeau + * SoObjects/SOGo/SOGoObject.m (SOGoSelectorForPropertyGetter) + (SOGoSelectorForPropertySetter): fixed a case where propSel should + be initialized to NULL. + * SoObjects/SOGo/SOGoGroup.m (-members): we now cache the array of members as an ivar. (-hasMemberWithUID): new self-explicit method. diff --git a/SoObjects/SOGo/SOGoObject.m b/SoObjects/SOGo/SOGoObject.m index e508c6d9f..56c7e4840 100644 --- a/SoObjects/SOGo/SOGoObject.m +++ b/SoObjects/SOGo/SOGoObject.m @@ -96,6 +96,8 @@ SEL SOGoSelectorForPropertyGetter (NSString *property) [getterMap setObject: [NSValue valueWithPointer: propSel] forKey: property]; } + else + propSel = NULL; } return propSel; @@ -124,6 +126,8 @@ SEL SOGoSelectorForPropertySetter (NSString *property) [setterMap setObject: [NSValue valueWithPointer: propSel] forKey: property]; } + else + propSel = NULL; } return propSel;