Fix 2097 and 2106: CBouquetList::Bouquets is vector of pointers, if hdBouquet added, it cannot be deleted

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2108 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
focus
2012-02-16 07:42:50 +00:00
parent 7713dbd766
commit e18ce86df7

View File

@@ -1293,6 +1293,8 @@ void CNeutrinoApp::channelsInit(bool bOnly)
if(g_settings.make_hd_list && hi)
TVfavList->Bouquets.push_back(hdBouquet);
else
delete hdBouquet;
/* Favorites and provides RADIO bouquets */
bnum = 0;
@@ -1321,9 +1323,6 @@ void CNeutrinoApp::channelsInit(bool bOnly)
myinfo.arena, myinfo.arena / 1024, myinfo.uordblks);
#endif
if(g_settings.make_hd_list)
delete hdBouquet;
reloadhintBox->hide();
}