mirror of
https://github.com/luanti-org/minetestmapper.git
synced 2025-10-06 13:55:22 +02:00
TileGenerator: free database resources (#38)
Destructor of DB* instance was never called. Ensure it is, adding missing base class virtual destructor and calling delete when possible to free resources.
This commit is contained in:
@@ -76,6 +76,7 @@ public:
|
||||
private:
|
||||
void parseColorsStream(std::istream &in);
|
||||
void openDb(const std::string &input);
|
||||
void closeDatabase();
|
||||
void loadBlocks();
|
||||
void createImage();
|
||||
void renderMap();
|
||||
|
Reference in New Issue
Block a user