mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
don't call destructor twice
This commit is contained in:
@@ -46,7 +46,7 @@ namespace util
|
|||||||
{
|
{
|
||||||
auto tmp = m_Head;
|
auto tmp = m_Head;
|
||||||
m_Head = static_cast<T*>(*(void * *)m_Head); // next
|
m_Head = static_cast<T*>(*(void * *)m_Head); // next
|
||||||
delete tmp;
|
::operator delete ((void *)tmp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user