Fix memory leak
Fixes CID 132249
This commit is contained in:
parent
a1926ca16e
commit
171867009e
@ -29,7 +29,7 @@ cBrewingstandEntity::cBrewingstandEntity(int a_BlockX, int a_BlockY, int a_Block
|
||||
m_Contents.AddListener(*this);
|
||||
for (int i = 0; i < 3; i++)
|
||||
{
|
||||
m_Results[i] = *(new cItem());
|
||||
m_Results[i] = cItem{};
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user