mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
Memory leak:hdd,hintBox
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@32 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -2545,6 +2545,7 @@ int CNeutrinoApp::run(int argc, char **argv)
|
||||
system("mount /media/sdb1 2> /dev/null");
|
||||
CHDDDestExec * hdd = new CHDDDestExec();
|
||||
hdd->exec(NULL, "");
|
||||
delete hdd;
|
||||
#endif
|
||||
|
||||
InitZapper();
|
||||
@@ -4108,6 +4109,7 @@ int CNeutrinoApp::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
networkConfig.automatic_start = (network_automatic_start == 1);
|
||||
networkConfig.commitConfig();
|
||||
saveSetup(NEUTRINO_SETTINGS_FILE);
|
||||
delete hintBox;
|
||||
delete frameBuffer;
|
||||
execvp(global_argv[0], global_argv); // no return if successful
|
||||
exit(1);
|
||||
|
Reference in New Issue
Block a user