[llvm] r185663 - Fix leak. Should bring back the valgrind bot.

Rafael Espindola rafael.espindola at gmail.com
Thu Jul 4 12:20:00 PDT 2013


Author: rafael
Date: Thu Jul  4 14:20:00 2013
New Revision: 185663

URL: http://llvm.org/viewvc/llvm-project?rev=185663&view=rev
Log:
Fix leak. Should bring back the valgrind bot.

Modified:
    llvm/trunk/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp

Modified: llvm/trunk/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp?rev=185663&r1=185662&r2=185663&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp Thu Jul  4 14:20:00 2013
@@ -47,6 +47,7 @@ public:
   }
 
   ~AArch64Disassembler() {
+    delete RegInfo;
   }
 
   /// See MCDisassembler.





More information about the llvm-commits mailing list