mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 05:45:38 +00:00
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)
|
||||
{
|
||||
delete[] m_data;
|
||||
deallocate();
|
||||
m_data = move.m_data;
|
||||
move.m_data = nullptr;
|
||||
return *this;
|
||||
|
|
Loading…
Reference in a new issue