mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
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:
parent
7cf503e096
commit
6d7eae6095
19 changed files with 111 additions and 95 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue