Bugfix recycling zone containing non-freeable memory - zone was persisting

after it's memory had been returned to default malloc


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3641 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-02-02 16:15:24 +00:00
parent 11745d811a
commit 1f2f82f66c

View file

@ -1352,6 +1352,7 @@ nrecycle1 (NSZone *zone)
objc_free(block);
block = nextblock;
}
zptr->blocks = 0;
}
objc_mutex_unlock(zptr->lock);
if (zptr->blocks == 0)