HDB: Fix GfxCache memory leak

This commit is contained in:
Nipun Garg
2019-09-03 17:17:22 +02:00
committed by Eugene Sandulenko
parent 14dbbdd852
commit be1fcc2fa8
+2
View File
@@ -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;