* 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
This commit is contained in:
Adam Fedor 2005-01-07 15:33:16 +00:00
parent f849ee548a
commit c79954e5c4
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
2005-01-07 Adam Fedor <fedor@gnu.org>
* Source/NSTimeZone.m (+abbreviationDictionary): Retain dictionary
(Fixes bug #11516).

View file

@ -886,7 +886,7 @@ static NSMapTable *absolutes = 0;
[[NSString stringWithContentsOfFile: path] propertyList];
abbreviationDictionary =
[abbreviationDictionary makeImmutableCopyOnFail: NO];
return abbreviationDictionary;
return RETAIN(abbreviationDictionary);
}
/**