mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
CProgressBarCache: ensure clean iterator inside pbcClear()
For safety only.
This commit is contained in:
@@ -198,6 +198,7 @@ void CProgressBarCache::pbcClear()
|
||||
if ((*it)->pbc_passive)
|
||||
free((*it)->pbc_passive);
|
||||
delete (*it);
|
||||
(*it) = NULL;
|
||||
}
|
||||
pbCache.clear();
|
||||
}
|
||||
|
Reference in New Issue
Block a user