From 8f42a8be0c760322207287e50b624bd3d388a2e1 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 15 Aug 2011 02:04:56 +0300 Subject: lava! --- src/mapnode.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/mapnode.cpp') diff --git a/src/mapnode.cpp b/src/mapnode.cpp index 9a8a73295..956abe5c7 100644 --- a/src/mapnode.cpp +++ b/src/mapnode.cpp @@ -30,8 +30,9 @@ with this program; if not, write to the Free Software Foundation, Inc., ContentFeatures::~ContentFeatures() { - if(initial_metadata) - delete initial_metadata; + delete initial_metadata; + delete special_material; + delete special_atlas; } void ContentFeatures::setTexture(u16 i, std::string name, u8 alpha) -- cgit v1.2.3