Tidied up

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22977 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2006-05-24 08:27:39 +00:00
parent 7cf503e096
commit 6d7eae6095
19 changed files with 111 additions and 95 deletions

View file

@ -225,7 +225,7 @@
}
if (_symbols)
{
free (_symbols);
objc_free (_symbols);
_symbols = NULL;
}
[super dealloc];
@ -291,10 +291,10 @@
[self release];
return nil;
}
_symbols = malloc (neededSpace);
_symbols = objc_malloc (neededSpace);
if (!_symbols)
{
NSLog (@"GSBinaryFileInfo: Can't malloc buffer");
NSLog (@"GSBinaryFileInfo: Can't allocate buffer");
[self release];
return nil;
}