mirror of
https://github.com/minetest/minetest.git
synced 2025-02-17 10:23:47 +01:00
fixed a small memory leak in mapnode.cpp
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user