| Index: runtime/vm/virtual_memory_win.cc
|
| diff --git a/runtime/vm/virtual_memory_win.cc b/runtime/vm/virtual_memory_win.cc
|
| index f50d78fb718af3930a81929281180b8a797e39db..43a50c9bca591cc57489320f66210cc9feb8ba01 100644
|
| --- a/runtime/vm/virtual_memory_win.cc
|
| +++ b/runtime/vm/virtual_memory_win.cc
|
| @@ -35,7 +35,7 @@ VirtualMemory* VirtualMemory::ReserveInternal(intptr_t size) {
|
|
|
|
|
| VirtualMemory::~VirtualMemory() {
|
| - if (embedder_allocated() || (reserved_size_ == 0)) {
|
| + if (embedder_allocated()) {
|
| return;
|
| }
|
| if (VirtualFree(address(), 0, MEM_RELEASE) == 0) {
|
|
|