Use array deallocation
This commit is contained in:
parent
9034d89a31
commit
4b663a08ce
@ -226,7 +226,7 @@ private:
|
||||
{
|
||||
m_fbi_queue.lock();
|
||||
for (auto& p : m_fbi_queue.getData())
|
||||
delete p.first;
|
||||
delete [] p.first;
|
||||
m_fbi_queue.getData().clear();
|
||||
m_fbi_queue.unlock();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user