ソースを参照

fix a missing [] in the delete call

Lee Thomason 14 年 前
コミット
a2ae54e40d
1 ファイル変更1 行追加1 行削除
  1. 1 1
      tinyxml2.h

+ 1 - 1
tinyxml2.h

@@ -171,7 +171,7 @@ public:
 	~DynArray()
 	{
 		if ( mem != pool ) {
-			delete mem;
+			delete [] mem;
 		}
 	}
 	void Push( T t )