mirror of https://github.com/AxioDL/tinyxml2.git
fix a missing [] in the delete call
This commit is contained in:
parent
b3fcf26e0e
commit
a2ae54e40d
|
@ -171,7 +171,7 @@ public:
|
||||||
~DynArray()
|
~DynArray()
|
||||||
{
|
{
|
||||||
if ( mem != pool ) {
|
if ( mem != pool ) {
|
||||||
delete mem;
|
delete [] mem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void Push( T t )
|
void Push( T t )
|
||||||
|
|
Loading…
Reference in New Issue