1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-23 08:08:47 -05:00

fixed a small memory leak in mapnode.cpp

This commit is contained in:
Perttu Ahola 2011-05-21 14:28:13 +03:00
parent e3f62f354e
commit 60bb663bf8

View File

@ -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)