fixing wrong free calls

This commit is contained in:
David Carlier 2017-09-16 21:24:31 +01:00 committed by alexey.lysiuk
commit 9f742f8aaa
2 changed files with 2 additions and 2 deletions

View file

@ -2049,7 +2049,7 @@ FDynamicBuffer::~FDynamicBuffer ()
{
if (m_Data)
{
free (m_Data);
M_Free (m_Data);
m_Data = NULL;
}
m_Len = m_BufferLen = 0;