From f74a059bb40b664bd06ab8b3fe4dc0903b5c7937 Mon Sep 17 00:00:00 2001 From: Richard Frith-MacDonald Date: Mon, 8 Mar 2010 12:11:03 +0000 Subject: [PATCH] fix position of assert git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29878 72102866-910b-0410-8b05-ffd578937521 --- Source/GSString.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/GSString.m b/Source/GSString.m index f1dceb035..34ce9779c 100644 --- a/Source/GSString.m +++ b/Source/GSString.m @@ -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;