From a1ee0c6aed19c52ff7a110daa06ac6567c8dbade Mon Sep 17 00:00:00 2001 From: fedor Date: Fri, 7 Jan 2005 15:33:16 +0000 Subject: [PATCH] * Source/NSTimeZone.m (+abbreviationDictionary): Retain dictionary (Fixes bug #11516). git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20526 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 5 +++++ Source/NSTimeZone.m | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e69de29bb..b32d335c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -0,0 +1,5 @@ +2005-01-07 Adam Fedor + + * Source/NSTimeZone.m (+abbreviationDictionary): Retain dictionary + (Fixes bug #11516). + diff --git a/Source/NSTimeZone.m b/Source/NSTimeZone.m index 2880ce35c..04d97108e 100644 --- a/Source/NSTimeZone.m +++ b/Source/NSTimeZone.m @@ -886,7 +886,7 @@ static NSMapTable *absolutes = 0; [[NSString stringWithContentsOfFile: path] propertyList]; abbreviationDictionary = [abbreviationDictionary makeImmutableCopyOnFail: NO]; - return abbreviationDictionary; + return RETAIN(abbreviationDictionary); } /**