diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index 9cea29cf227..079f4b6d3ac 100644 --- a/lib/VMCore/Function.cpp +++ b/lib/VMCore/Function.cpp @@ -44,6 +44,8 @@ Method::~Method() { // Delete all of the method arguments and unlink from symbol table... ArgumentList.delete_all(); ArgumentList.setParent(0); + + delete machineCode; } // Specialize setName to take care of symbol table majik