Common/HeapArray: Fix mismatched delete/free
This commit is contained in:
parent
41bb9fddfc
commit
8ddb0c4b23
|
@ -81,7 +81,7 @@ public:
|
||||||
|
|
||||||
this_type& operator=(this_type&& move)
|
this_type& operator=(this_type&& move)
|
||||||
{
|
{
|
||||||
delete[] m_data;
|
deallocate();
|
||||||
m_data = move.m_data;
|
m_data = move.m_data;
|
||||||
move.m_data = nullptr;
|
move.m_data = nullptr;
|
||||||
return *this;
|
return *this;
|
||||||
|
|
Loading…
Reference in New Issue