* 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
|
@ -1,3 +1,7 @@
|
|||
2012-06-05 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/grub-probe.c (escape_of_path): Fix double free.
|
||||
|
||||
2012-06-05 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/commands/videoinfo.c (hook): Show pitch.
|
||||
|
|
|
@ -169,8 +169,6 @@ escape_of_path (const char *orig_path)
|
|||
}
|
||||
*d = 0;
|
||||
|
||||
free ((char *) orig_path);
|
||||
|
||||
return new_path;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue