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:
Richard Frith-MacDonald 1998-09-30 08:29:58 +00:00
parent 49a46c8b98
commit 591c9343a5
3 changed files with 7 additions and 8 deletions

View file

@ -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;
}