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:
mccallum 1995-09-21 17:42:46 +00:00
parent 5832757bc4
commit 43da69d1ae
5 changed files with 45 additions and 6 deletions

View file

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