mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
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:
parent
0b6a80065e
commit
b0f01d5cb6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue