mirror of
https://github.com/AxioDL/tinyxml2.git
synced 2025-05-14 19:31:23 +00:00
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…
x
Reference in New Issue
Block a user