]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/vm.cpp
32 and 64 bit Linux PPC support
[factor.git] / vm / vm.cpp
index e9ade19cc6f3bfc362e36b12d3e2dead26a231b1..ee469f7445049dbfb6a3406641d791ad15037207 100755 (executable)
--- a/vm/vm.cpp
+++ b/vm/vm.cpp
@@ -27,6 +27,13 @@ factor_vm::~factor_vm()
                delete signal_callstack_seg;
                signal_callstack_seg = NULL;
        }
+       std::list<void **>::const_iterator iter = function_descriptors.begin();
+       std::list<void **>::const_iterator end = function_descriptors.end();
+       while(iter != end)
+       {
+               delete [] *iter;
+               iter++;
+       }
 }
 
 }