([NSCharacterSet +_bitmapForSet:number:]): Retain cached set.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1708 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-09-07 17:56:16 +00:00
parent 64a08d0771
commit 64caae8e20

View file

@ -94,7 +94,7 @@ static NSLock* cache_lock = nil;
set = [self characterSetWithBitmapRepresentation:
[NSData dataWithContentsOfFile: path]];
cache_set[number] = set;
cache_set[number] = [set retain];
NS_HANDLER
[cache_lock unlock];
[localException raise];