mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
HDB: Fix GfxCache memory leak
This commit is contained in:
committed by
Eugene Sandulenko
parent
14dbbdd852
commit
be1fcc2fa8
@@ -39,6 +39,8 @@ Gfx::Gfx() {
|
||||
}
|
||||
|
||||
Gfx::~Gfx() {
|
||||
for (uint i = 0; i < _gfxCache->size(); i++)
|
||||
delete _gfxCache->operator[](i);
|
||||
delete _gfxCache;
|
||||
delete _sines;
|
||||
delete _cosines;
|
||||
|
||||
Reference in New Issue
Block a user