Fixing tests.

This commit is contained in:
Ben Vanik
2015-05-21 07:51:56 -07:00
parent fc4727c339
commit bac3f8c3bd
7 changed files with 23 additions and 6 deletions

View File

@@ -37,10 +37,10 @@ X64CodeCache::~X64CodeCache() {
RtlDeleteGrowableFunctionTable(unwind_table_handle_);
}
if (indirection_table_base_) {
VirtualFree(indirection_table_base_, kIndirectionTableSize, MEM_RELEASE);
VirtualFree(indirection_table_base_, 0, MEM_RELEASE);
}
if (generated_code_base_) {
VirtualFree(generated_code_base_, kIndirectionTableSize, MEM_RELEASE);
VirtualFree(generated_code_base_, 0, MEM_RELEASE);
}
}