* util/grub-probe.c (escape_of_path): Fix double free.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-06-05 17:16:14 +02:00
parent 6cce6f3864
commit 944f752dbb
2 changed files with 4 additions and 2 deletions

View file

@ -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.

View file

@ -169,8 +169,6 @@ escape_of_path (const char *orig_path)
}
*d = 0;
free ((char *) orig_path);
return new_path;
}