From a2ae54e40dcd060e520db46b45ec8fb1665e6567 Mon Sep 17 00:00:00 2001 From: Lee Thomason Date: Fri, 18 May 2012 13:47:48 -0700 Subject: [PATCH] fix a missing [] in the delete call --- tinyxml2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinyxml2.h b/tinyxml2.h index d917204..352b591 100644 --- a/tinyxml2.h +++ b/tinyxml2.h @@ -171,7 +171,7 @@ public: ~DynArray() { if ( mem != pool ) { - delete mem; + delete [] mem; } } void Push( T t )