mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
fix segfault,supplement to 69ae7d89e3
This commit is contained in:
@@ -4109,9 +4109,6 @@ int CYTCacheSelectorTarget::exec(CMenuTarget* /*parent*/, const std::string & ac
|
||||
void CMovieBrowser::refreshYTMenu()
|
||||
{
|
||||
for (u_int item_id = (u_int) yt_menue->getItemsCount() - 1; item_id > yt_menue_end - 1; item_id--) {
|
||||
CMenuItem* m = yt_menue->getItem(item_id);
|
||||
if (m && !m->isStatic)
|
||||
delete m;
|
||||
yt_menue->removeItem(item_id);
|
||||
}
|
||||
MI_MOVIE_INFO::miSource source = (show_mode == MB_SHOW_YT) ? MI_MOVIE_INFO::YT : MI_MOVIE_INFO::NK;
|
||||
|
Reference in New Issue
Block a user