MInor tidyup.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16105 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2003-03-02 07:47:18 +00:00
parent 650c648af6
commit 57c0ece231
10 changed files with 64 additions and 52 deletions

View file

@ -1313,7 +1313,7 @@ tables:
/*
* Temporary string was requested ... make one.
*/
r = _fastMallocBuffer(bytes);
r = GSAutoreleasedBuffer(bytes);
memcpy(r, ptr, bytes);
if (ptr != buf && (dst == 0 || ptr != *dst))
{
@ -1913,7 +1913,7 @@ tables:
/*
* Temporary string was requested ... make one.
*/
r = _fastMallocBuffer(bytes);
r = GSAutoreleasedBuffer(bytes);
memcpy(r, ptr, bytes);
if (ptr != buf && (dst == 0 || ptr != *dst))
{