forked from Mirrorlandia_minetest/minetest
Fix double-free of minimap textures
This commit is contained in:
parent
033128d8dc
commit
2479d51cc6
@ -248,9 +248,6 @@ Minimap::~Minimap()
|
||||
|
||||
driver->removeTexture(data->texture);
|
||||
driver->removeTexture(data->heightmap_texture);
|
||||
driver->removeTexture(data->minimap_overlay_round);
|
||||
driver->removeTexture(data->minimap_overlay_square);
|
||||
driver->removeTexture(data->object_marker_red);
|
||||
|
||||
for (MinimapMarker *m : m_markers)
|
||||
delete m;
|
||||
|
Loading…
Reference in New Issue
Block a user