This commit is contained in:
Christoph Oelckers 2015-02-08 17:59:01 +01:00
commit 8ac34efc4e

View file

@ -2053,11 +2053,9 @@ void FDynamicBuffer::SetData (const BYTE *data, int len)
m_Len = len;
memcpy (m_Data, data, len);
}
else
else
{
m_Len = 0;
M_Free(m_Data);
m_Data = NULL;
}
}