- resanitation of FDynamicBuffer::SetData.

This commit is contained in:
Christoph Oelckers 2015-02-08 17:58:24 +01:00
parent 57ae77412d
commit e047902d56

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;
}
}