mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
src/gui/components/cc_item_progressbar.cpp fix possible memleak
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user