Index: test/cctest/test-disasm-arm64.cc |
diff --git a/test/cctest/test-disasm-arm64.cc b/test/cctest/test-disasm-arm64.cc |
index 208f1f5afb53544cded7e1da1688d470fdf9efba..b3b50acf9dffb3321c7904a26712553f2b3f66d1 100644 |
--- a/test/cctest/test-disasm-arm64.cc |
+++ b/test/cctest/test-disasm-arm64.cc |
@@ -83,10 +83,11 @@ using namespace v8::internal; |
abort(); \ |
} |
-#define CLEANUP() \ |
- delete disasm; \ |
- delete decoder; \ |
- delete assm |
+#define CLEANUP() \ |
+ delete disasm; \ |
+ delete decoder; \ |
+ delete assm; \ |
+ free(buf) |
static bool vm_initialized = false; |