mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-24 22:22:21 +00:00
fixups for libobjc2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29753 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
145a5670bf
commit
14b91c9052
67 changed files with 328 additions and 253 deletions
|
@ -321,7 +321,7 @@ static Class NSURLHandleClass = 0;
|
|||
@selector(URLHandleResourceDidCancelLoading:)
|
||||
withObject: self];
|
||||
[self endLoadInBackground];
|
||||
IF_NO_GC([self release];)
|
||||
IF_NO_GC(DESTROY(self);)
|
||||
}
|
||||
|
||||
- (void) dealloc
|
||||
|
@ -710,7 +710,7 @@ static NSLock *fileLock = nil;
|
|||
if ([url isFileURL] == NO)
|
||||
{
|
||||
NSLog(@"Attempt to init GSFileURLHandle with bad URL");
|
||||
RELEASE(self);
|
||||
DESTROY(self);
|
||||
return nil;
|
||||
}
|
||||
path = [url path];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue