mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
Merge branch 'master' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox
Origin commit data
------------------
Commit: dae3c55d4d
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-02-06 (Mon, 06 Feb 2017)
This commit is contained in:
@@ -1173,7 +1173,7 @@ int CHDDDestExec::exec(CMenuTarget* /*parent*/, const std::string&)
|
|||||||
my_system(3, hdidle, "-i", to_string(sleep_seconds).c_str());
|
my_system(3, hdidle, "-i", to_string(sleep_seconds).c_str());
|
||||||
|
|
||||||
while (n--)
|
while (n--)
|
||||||
free(namelist[i]);
|
free(namelist[n]);
|
||||||
free(namelist);
|
free(namelist);
|
||||||
return menu_return::RETURN_NONE;
|
return menu_return::RETURN_NONE;
|
||||||
}
|
}
|
||||||
@@ -1183,7 +1183,7 @@ int CHDDDestExec::exec(CMenuTarget* /*parent*/, const std::string&)
|
|||||||
if (!have_hdparm)
|
if (!have_hdparm)
|
||||||
{
|
{
|
||||||
while (n--)
|
while (n--)
|
||||||
free(namelist[i]);
|
free(namelist[n]);
|
||||||
free(namelist);
|
free(namelist);
|
||||||
return menu_return::RETURN_NONE;
|
return menu_return::RETURN_NONE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user