From 2c8ce86e7aae23f9d86cdf4e6027f9703c13ee7f Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 4 Jul 2013 19:20:00 +0000 Subject: [PATCH] Fix leak. Should bring back the valgrind bot. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185663 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp b/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp index 1c397b5fa96..af0e23dd0cf 100644 --- a/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp +++ b/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp @@ -47,6 +47,7 @@ public: } ~AArch64Disassembler() { + delete RegInfo; } /// See MCDisassembler.