mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Don't use MallocAddress
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2993 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
49a46c8b98
commit
591c9343a5
3 changed files with 7 additions and 8 deletions
|
@ -27,7 +27,7 @@
|
|||
#include <gnustep/base/NSString.h>
|
||||
#include <gnustep/base/StdioStream.h>
|
||||
#include <gnustep/base/TextCStream.h>
|
||||
#include <gnustep/base/MallocAddress.h>
|
||||
#include <Foundation/NSData.h>
|
||||
#include <Foundation/NSException.h>
|
||||
#include <math.h>
|
||||
#ifndef __WIN32__
|
||||
|
@ -491,7 +491,7 @@ static int debug_binary_coder = 0;
|
|||
(*(char**)d)[length] = '\0';
|
||||
/* Autorelease the newly malloc'ed pointer? Grep for (*objc_free)
|
||||
to see the places the may have to be changed
|
||||
[MallocAddress autoreleaseMallocAddress: *(char**)d]; */
|
||||
[NSData dataWithBytesNoCopy: *(void**)d length: length+1]; */
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue