- Fixed the sanity commit.

This commit is contained in:
ZzZombo 2015-02-08 14:35:45 +08:00
parent 7c567979d9
commit 2c06987f67
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -217,7 +217,7 @@ public:
bool ReplaceFactor; bool ReplaceFactor;
bool NoArmor; bool NoArmor;
void Apply(FName const &type); void Apply(FName const type);
void Clear() void Clear()
{ {
DefaultFactor = FRACUNIT; DefaultFactor = FRACUNIT;