mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
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:
@@ -1293,6 +1293,8 @@ void CNeutrinoApp::channelsInit(bool bOnly)
|
|||||||
|
|
||||||
if(g_settings.make_hd_list && hi)
|
if(g_settings.make_hd_list && hi)
|
||||||
TVfavList->Bouquets.push_back(hdBouquet);
|
TVfavList->Bouquets.push_back(hdBouquet);
|
||||||
|
else
|
||||||
|
delete hdBouquet;
|
||||||
|
|
||||||
/* Favorites and provides RADIO bouquets */
|
/* Favorites and provides RADIO bouquets */
|
||||||
bnum = 0;
|
bnum = 0;
|
||||||
@@ -1321,9 +1323,6 @@ void CNeutrinoApp::channelsInit(bool bOnly)
|
|||||||
myinfo.arena, myinfo.arena / 1024, myinfo.uordblks);
|
myinfo.arena, myinfo.arena / 1024, myinfo.uordblks);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(g_settings.make_hd_list)
|
|
||||||
delete hdBouquet;
|
|
||||||
|
|
||||||
reloadhintBox->hide();
|
reloadhintBox->hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user