leak detection improvements

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37003 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2013-08-22 15:44:54 +00:00
parent edc02cf9e5
commit 1483924463
102 changed files with 429 additions and 235 deletions

View file

@ -74,7 +74,6 @@
#import "GNUstepBase/GSMime.h"
#import "GNUstepBase/NSString+GNUstepBase.h"
#import "GNUstepBase/NSMutableString+GNUstepBase.h"
#import "GNUstepBase/NSObject+GNUstepBase.h"
#import "GSPrivate.h"
#include <sys/stat.h>
#include <sys/types.h>
@ -271,7 +270,7 @@ pathSeps(void)
{
rPathSeps
= [NSCharacterSet characterSetWithCharactersInString: @"/\\"];
IF_NO_GC(RETAIN(rPathSeps));
rPathSeps = [NSObject leakAt: &rPathSeps];
}
[placeholderLock unlock];
}
@ -286,7 +285,7 @@ pathSeps(void)
{
uPathSeps
= [NSCharacterSet characterSetWithCharactersInString: @"/"];
IF_NO_GC(RETAIN(uPathSeps));
uPathSeps = [NSObject leakAt: &uPathSeps];
}
[placeholderLock unlock];
}
@ -301,7 +300,7 @@ pathSeps(void)
{
wPathSeps
= [NSCharacterSet characterSetWithCharactersInString: @"\\"];
IF_NO_GC(RETAIN(wPathSeps));
wPathSeps = [NSObject leakAt: &wPathSeps];
}
[placeholderLock unlock];
}