[vmkit-commits] [vmkit] r85507 - /vmkit/trunk/include/mvm/PrintBuffer.h

Nicolas Geoffray nicolas.geoffray at lip6.fr
Thu Oct 29 07:15:15 PDT 2009


Author: geoffray
Date: Thu Oct 29 09:15:15 2009
New Revision: 85507

URL: http://llvm.org/viewvc/llvm-project?rev=85507&view=rev
Log:
Call delete[] instead of delete.


Modified:
    vmkit/trunk/include/mvm/PrintBuffer.h

Modified: vmkit/trunk/include/mvm/PrintBuffer.h
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/include/mvm/PrintBuffer.h?rev=85507&r1=85506&r2=85507&view=diff

==============================================================================
--- vmkit/trunk/include/mvm/PrintBuffer.h (original)
+++ vmkit/trunk/include/mvm/PrintBuffer.h Thu Oct 29 09:15:15 2009
@@ -61,7 +61,7 @@
 	}
 
 	virtual ~PrintBuffer() {
-		delete contents;
+		delete[] contents;
 	}
 	
 	char *cString() {





More information about the vmkit-commits mailing list