fix position of assert

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29878 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2010-03-08 12:11:03 +00:00
parent 0b6a80065e
commit b0f01d5cb6

View file

@ -3791,9 +3791,9 @@ agree, create a new GSUnicodeInlineString otherwise.
- (void) dealloc
{
NSAssert(_flags.owned == 1 && _zone != 0, NSInternalInconsistencyException);
if (_contents.c != 0)
{
NSAssert(_flags.owned == 1 && _zone != 0, NSInternalInconsistencyException);
NSZoneFree(self->_zone, self->_contents.c);
self->_contents.c = 0;
self->_zone = 0;