1
0

Fix memory leak

Fixes CID 132249
This commit is contained in:
worktycho 2015-11-08 22:34:52 +00:00
parent a1926ca16e
commit 171867009e

View File

@ -29,7 +29,7 @@ cBrewingstandEntity::cBrewingstandEntity(int a_BlockX, int a_BlockY, int a_Block
m_Contents.AddListener(*this); m_Contents.AddListener(*this);
for (int i = 0; i < 3; i++) for (int i = 0; i < 3; i++)
{ {
m_Results[i] = *(new cItem()); m_Results[i] = cItem{};
} }
} }