mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Fix double free bug when server is shut down
Thanks @oleastre
This commit is contained in:
@@ -136,6 +136,7 @@ struct MapgenFactory {
|
|||||||
|
|
||||||
class GenElement {
|
class GenElement {
|
||||||
public:
|
public:
|
||||||
|
virtual ~GenElement() {}
|
||||||
u32 id;
|
u32 id;
|
||||||
std::string name;
|
std::string name;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user