Common/HeapArray: Fix mismatched delete/free

This commit is contained in:
Stenzek 2023-10-21 13:48:13 +10:00
parent 41bb9fddfc
commit 8ddb0c4b23
No known key found for this signature in database

View file

@ -81,7 +81,7 @@ public:
this_type& operator=(this_type&& move)
{
delete[] m_data;
deallocate();
m_data = move.m_data;
move.m_data = nullptr;
return *this;