fixed a small memory leak in mapnode.cpp
parent
e3f62f354e
commit
60bb663bf8
|
@ -31,6 +31,8 @@ ContentFeatures::~ContentFeatures()
|
||||||
{
|
{
|
||||||
if(translate_to)
|
if(translate_to)
|
||||||
delete translate_to;
|
delete translate_to;
|
||||||
|
if(initial_metadata)
|
||||||
|
delete initial_metadata;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ContentFeatures::setTexture(u16 i, std::string name, u8 alpha)
|
void ContentFeatures::setTexture(u16 i, std::string name, u8 alpha)
|
||||||
|
|
Loading…
Reference in New Issue