mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
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:
parent
edc02cf9e5
commit
1483924463
102 changed files with 429 additions and 235 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue