[cfe-commits] r154747 - /cfe/trunk/lib/AST/VTableBuilder.cpp

Benjamin Kramer benny.kra at googlemail.com
Sat Apr 14 06:21:23 PDT 2012


Author: d0k
Date: Sat Apr 14 08:21:23 2012
New Revision: 154747

URL: http://llvm.org/viewvc/llvm-project?rev=154747&view=rev
Log:
Don't leak vtable thunks.

Modified:
    cfe/trunk/lib/AST/VTableBuilder.cpp

Modified: cfe/trunk/lib/AST/VTableBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/VTableBuilder.cpp?rev=154747&r1=154746&r2=154747&view=diff
==============================================================================
--- cfe/trunk/lib/AST/VTableBuilder.cpp (original)
+++ cfe/trunk/lib/AST/VTableBuilder.cpp Sat Apr 14 08:21:23 2012
@@ -2163,6 +2163,7 @@
 
 VTableLayout::~VTableLayout() {
   delete[] VTableComponents;
+  delete[] VTableThunks;
 }
 
 VTableContext::~VTableContext() {





More information about the cfe-commits mailing list