mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
([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:
parent
64a08d0771
commit
64caae8e20
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue