فهرست منبع

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 )