mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
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:
parent
650c648af6
commit
57c0ece231
10 changed files with 64 additions and 52 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue