Skip to content
Snippets Groups Projects
Commit 60bb663b authored by Perttu Ahola's avatar Perttu Ahola
Browse files

fixed a small memory leak in mapnode.cpp

parent e3f62f35
No related branches found
No related tags found
No related merge requests found
...@@ -31,6 +31,8 @@ ContentFeatures::~ContentFeatures() ...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment