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


Origin commit data
------------------
Commit: e18ce86df7
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-02-16 (Thu, 16 Feb 2012)
This commit is contained in:
[CST] Focus
2012-02-16 07:42:50 +00:00
parent 8d258d149d
commit d2c628bf79

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();
}