mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Patched from mail. See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@612 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5832757bc4
commit
43da69d1ae
5 changed files with 45 additions and 6 deletions
|
@ -67,7 +67,7 @@
|
|||
/* Empty copy must empty an allocCopy'ed version of self */
|
||||
- emptyCopy
|
||||
{
|
||||
NSGCString *copy = [super emptyCopy];
|
||||
NSGCString *copy = [super allocCopy];
|
||||
OBJC_MALLOC(copy->_contents_chars, char, _count+1);
|
||||
copy->_count = 0;
|
||||
copy->_contents_chars[0] = '\0';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue