aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-07-04 19:20:00 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-07-04 19:20:00 +0000
commit2c8ce86e7aae23f9d86cdf4e6027f9703c13ee7f (patch)
treed97e9ff51e08cbd919d5cc3b580710d9466eccdc /lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
parent972befb3f281f0f9ce08d7cf27b4e879327676b0 (diff)
downloadexternal_llvm-2c8ce86e7aae23f9d86cdf4e6027f9703c13ee7f.zip
external_llvm-2c8ce86e7aae23f9d86cdf4e6027f9703c13ee7f.tar.gz
external_llvm-2c8ce86e7aae23f9d86cdf4e6027f9703c13ee7f.tar.bz2
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
Diffstat (limited to 'lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp')
-rw-r--r--lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp b/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
index 1c397b5..af0e23d 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.