소스 검색

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 )