mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
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:
parent
11745d811a
commit
1f2f82f66c
1 changed files with 1 additions and 0 deletions
|
@ -1352,6 +1352,7 @@ nrecycle1 (NSZone *zone)
|
|||
objc_free(block);
|
||||
block = nextblock;
|
||||
}
|
||||
zptr->blocks = 0;
|
||||
}
|
||||
objc_mutex_unlock(zptr->lock);
|
||||
if (zptr->blocks == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue