Use array deallocation

This commit is contained in:
Benau 2017-03-22 09:58:22 +08:00
parent 9034d89a31
commit 4b663a08ce

View File

@ -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();
}