diff --git a/src/gui/moviebrowser/mb.cpp b/src/gui/moviebrowser/mb.cpp index 573e815f3..b24d89807 100644 --- a/src/gui/moviebrowser/mb.cpp +++ b/src/gui/moviebrowser/mb.cpp @@ -4131,9 +4131,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;