diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 070fae7d3..04b3d7c49 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -599,7 +599,6 @@ void CMoviePlayerGui::PlayFile(void) #endif CScreenShot * sc = new CScreenShot(fname); sc->Start(); - delete sc; } else if ( msg == NeutrinoMessages::ANNOUNCE_RECORD || msg == NeutrinoMessages::RECORD_START) { diff --git a/src/neutrino.cpp b/src/neutrino.cpp index bbcc6d942..f7ca2f540 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -2060,7 +2060,6 @@ void CNeutrinoApp::RealRun(CMenuWidget &mainMenu) CScreenShot * sc = new CScreenShot("", (CScreenShot::screenshot_format_t)g_settings.screenshot_format); sc->MakeFileName(CZapit::getInstance()->GetCurrentChannelID()); sc->Start(); - delete sc; } } else if( msg == (neutrino_msg_t) g_settings.key_lastchannel ) { @@ -2477,7 +2476,6 @@ _repeat: sc->EnableOSD(true); sc->MakeFileName(CZapit::getInstance()->GetCurrentChannelID()); sc->Start(); - delete sc; } /* ================================== MESSAGES ================================================ */ @@ -3949,4 +3947,4 @@ void CNeutrinoApp::SDT_ReloadChannels() g_RCInput->postMsg(CRCInput::RC_ok, 0); } -} \ No newline at end of file +}