aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mapnode.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapnode.cpp b/src/mapnode.cpp
index c27f4848b..00ebef840 100644
--- a/src/mapnode.cpp
+++ b/src/mapnode.cpp
@@ -31,6 +31,8 @@ ContentFeatures::~ContentFeatures()
{
if(translate_to)
delete translate_to;
+ if(initial_metadata)
+ delete initial_metadata;
}
void ContentFeatures::setTexture(u16 i, std::string name, u8 alpha)