- if this buffer is freed, the pointer referring to it must also be deleted.

This commit is contained in:
Christoph Oelckers 2015-02-08 11:48:41 +01:00
parent 45117b2603
commit ae78aeaacb

View file

@ -2057,6 +2057,7 @@ void FDynamicBuffer::SetData (const BYTE *data, int len)
{
m_Len = 0;
M_Free(m_Data);
m_Data = NULL;
}
}