From 07daa9be513dd118b68ebfc681c3c7ad61e94f06 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Tue, 30 Sep 2008 17:03:13 -0600 Subject: [PATCH] free properties array in Machine::dispose --- src/machine.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/machine.cpp b/src/machine.cpp index b1555cdafe..d03a7fb1ed 100644 --- a/src/machine.cpp +++ b/src/machine.cpp @@ -1709,6 +1709,8 @@ Machine::dispose() heap->free(heapPool[i], Thread::HeapSizeInBytes); } + heap->free(properties, sizeof(const char*) * propertyCount); + static_cast(heapClient)->dispose(); heap->free(this, sizeof(*this));