mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
src/gui/components/cc_item_progressbar.cpp fix possible memleak
Origin commit data
------------------
Commit: 1e38d90b23
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-04-15 (Fri, 15 Apr 2016)
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