mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +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
Origin commit data
------------------
Commit: d31b1fe29d
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-02-15 (Wed, 15 Feb 2012)
Origin message was:
------------------
*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