gui/osd_setup.cpp, gui/miscsettings_menu.cpp: do not delete items added to menu - menu dtor do it

Origin commit data
------------------
Branch: ni/coolstream
Commit: 60c45ec06c
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-06-19 (Fri, 19 Jun 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2015-06-19 15:48:15 +03:00
parent 336015d711
commit 17528389bf
2 changed files with 0 additions and 28 deletions

View File

@@ -73,26 +73,6 @@ CMiscMenue::CMiscMenue()
CMiscMenue::~CMiscMenue()
{
if (epg_save) {
delete epg_save;
epg_save = NULL;
}
if (epg_save_standby) {
delete epg_save_standby;
epg_save_standby = NULL;
}
if (epg_save_frequently) {
delete epg_save_frequently;
epg_save_frequently = NULL;
}
if (epg_read) {
delete epg_read;
epg_read = NULL;
}
if (epg_dir) {
delete epg_dir;
epg_dir = NULL;
}
}
int CMiscMenue::exec(CMenuTarget* parent, const std::string &actionKey)

View File

@@ -95,14 +95,6 @@ COsdSetup::COsdSetup(int wizard_mode)
COsdSetup::~COsdSetup()
{
if (ca_dotmatrix) {
delete ca_dotmatrix;
ca_dotmatrix = NULL;
}
if (ca_frame) {
delete ca_frame;
ca_frame = NULL;
}
delete colorSetupNotifier;
delete fontsizenotifier;
delete win_demo;