diff options
author | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-11-08 23:41:18 +0100 |
---|---|---|
committer | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-11-08 23:41:18 +0100 |
commit | cfbb7360cd2163a8835bd8c621f9fa6f1364d656 (patch) | |
tree | 5de9f6935ee8e0b47de13f9802ddc01f589f0da3 /src | |
parent | Merge pull request #2615 from Gargaj/cavespider-attack (diff) | |
parent | Fix memory leak (diff) | |
download | cuberite-cfbb7360cd2163a8835bd8c621f9fa6f1364d656.tar cuberite-cfbb7360cd2163a8835bd8c621f9fa6f1364d656.tar.gz cuberite-cfbb7360cd2163a8835bd8c621f9fa6f1364d656.tar.bz2 cuberite-cfbb7360cd2163a8835bd8c621f9fa6f1364d656.tar.lz cuberite-cfbb7360cd2163a8835bd8c621f9fa6f1364d656.tar.xz cuberite-cfbb7360cd2163a8835bd8c621f9fa6f1364d656.tar.zst cuberite-cfbb7360cd2163a8835bd8c621f9fa6f1364d656.zip |
Diffstat (limited to '')
-rw-r--r-- | src/BlockEntities/BrewingstandEntity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockEntities/BrewingstandEntity.cpp b/src/BlockEntities/BrewingstandEntity.cpp index e34297393..38403a59c 100644 --- a/src/BlockEntities/BrewingstandEntity.cpp +++ b/src/BlockEntities/BrewingstandEntity.cpp @@ -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{}; } } |