diff options
author | JDCodeIt <JDCodeIt@users.noreply.github.com> | 2018-04-30 11:14:28 -0600 |
---|---|---|
committer | SmallJoker <SmallJoker@users.noreply.github.com> | 2018-04-30 19:14:28 +0200 |
commit | 5862d9e482f9b263df2a01ef6f5c4c5bcbef91bd (patch) | |
tree | 6bcef6562aa4c19046551a224faa0e07dd490722 /src/game.h | |
parent | ba91624d8c354bac49c35a449029b6712022d0cb (diff) | |
download | minetest-5862d9e482f9b263df2a01ef6f5c4c5bcbef91bd.tar.gz minetest-5862d9e482f9b263df2a01ef6f5c4c5bcbef91bd.tar.bz2 minetest-5862d9e482f9b263df2a01ef6f5c4c5bcbef91bd.zip |
Global new() or grab() to be managed in constuctor only (#7235 partial) (#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.
Diffstat (limited to 'src/game.h')
0 files changed, 0 insertions, 0 deletions