mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
*neutrino: remove possible memleaks sc
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2098 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -2058,6 +2058,7 @@ 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 ) {
|
||||
@@ -2474,6 +2475,7 @@ _repeat:
|
||||
sc->EnableOSD(true);
|
||||
sc->MakeFileName(CZapit::getInstance()->GetCurrentChannelID());
|
||||
sc->Start();
|
||||
delete sc;
|
||||
}
|
||||
|
||||
/* ================================== MESSAGES ================================================ */
|
||||
|
Reference in New Issue
Block a user