* util/grub-probe.c (escape_of_path): Fix double free.
This commit is contained in:
parent
6cce6f3864
commit
944f752dbb
2 changed files with 4 additions and 2 deletions
|
@ -169,8 +169,6 @@ escape_of_path (const char *orig_path)
|
|||
}
|
||||
*d = 0;
|
||||
|
||||
free ((char *) orig_path);
|
||||
|
||||
return new_path;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue