commit | a2ae54e40dcd060e520db46b45ec8fb1665e6567 | [log] [tgz] |
---|---|---|
author | Lee Thomason <leethomason@gmail.com> | Fri May 18 13:47:48 2012 -0700 |
committer | Lee Thomason <leethomason@gmail.com> | Fri May 18 13:47:48 2012 -0700 |
tree | 92504b87c8add4773d0c15963a5273e43d07f998 | |
parent | b3fcf26e0eab8b4cc8bd02b68d60c7172db442a2 [diff] [blame] |
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 )