Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Global new() or grab() to be managed in constuctor only (#7235 partia…
…l) (#7236) * g_extrusion_mesh_cache new() and grab() to be managed in constuctor only (#7235 partial) This global was getting grab()-ed by each call to getItemMesh, incrementing its reference count. What was to be the final drop() in the destructor ended up with > 0 reference count, so memory not freed by Irrlicht.
- Loading branch information