src/gui/components/cc_item_progressbar.cpp fix possible memleak

This commit is contained in:
Jacek Jendrzej
2016-04-15 20:58:04 +02:00
parent f9a40ff3d6
commit 1e38d90b23

View File

@@ -197,6 +197,7 @@ void CProgressBarCache::pbcClear()
free((*it)->pbc_active); free((*it)->pbc_active);
if ((*it)->pbc_passive) if ((*it)->pbc_passive)
free((*it)->pbc_passive); free((*it)->pbc_passive);
delete (*it);
} }
pbCache.clear(); pbCache.clear();
} }