From 1f2f82f66c1a6ef51af6238327759569714aed0f Mon Sep 17 00:00:00 2001 From: richard Date: Tue, 2 Feb 1999 16:15:24 +0000 Subject: [PATCH] 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 --- Source/NSZone.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/NSZone.m b/Source/NSZone.m index 412c816a1..6064e0f62 100644 --- a/Source/NSZone.m +++ b/Source/NSZone.m @@ -1352,6 +1352,7 @@ nrecycle1 (NSZone *zone) objc_free(block); block = nextblock; } + zptr->blocks = 0; } objc_mutex_unlock(zptr->lock); if (zptr->blocks == 0)