memory leak fix in grub_script_execute_cmdline
This commit is contained in:
parent
dada803720
commit
0003008a58
3 changed files with 8 additions and 6 deletions
|
@ -29,6 +29,7 @@ round_up_exp (unsigned v)
|
|||
v |= v >> 4;
|
||||
v |= v >> 8;
|
||||
v |= v >> 16;
|
||||
|
||||
if (sizeof (v) > 4)
|
||||
v |= v >> 32;
|
||||
|
||||
|
@ -41,7 +42,7 @@ round_up_exp (unsigned v)
|
|||
void
|
||||
grub_script_argv_free (struct grub_script_argv *argv)
|
||||
{
|
||||
int i;
|
||||
unsigned i;
|
||||
|
||||
if (argv->args)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue