fix a missing [] in the delete call
diff --git a/tinyxml2.h b/tinyxml2.h
index d917204..352b591 100644
--- a/tinyxml2.h
+++ b/tinyxml2.h
@@ -171,7 +171,7 @@
 	~DynArray()

 	{

 		if ( mem != pool ) {

-			delete mem;

+			delete [] mem;

 		}

 	}

 	void Push( T t )