clear allocated freeblocks array
svn: r12313
This commit is contained in:
parent
6ccb6a0137
commit
2fc429a9d7
|
@ -35,6 +35,7 @@ static VM *vm_create() {
|
|||
#if !( defined(_WIN32) || defined(OSKIT) )
|
||||
#define BLOCKFREE_CACHE_SIZE 96
|
||||
vm->freeblocks = ofm_malloc(sizeof(FreeBlock) * BLOCKFREE_CACHE_SIZE);
|
||||
memset(vm->freeblocks, 0, sizeof(FreeBlock) * BLOCKFREE_CACHE_SIZE);
|
||||
#endif
|
||||
return vm;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user