mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
fixed a small memory leak in mapnode.cpp
This commit is contained in:
parent
e3f62f354e
commit
60bb663bf8
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue