diff --git a/ChangeLog b/ChangeLog index 85aca08c7..744f6189f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-06-05 Vladimir Serbinenko + + * util/grub-probe.c (escape_of_path): Fix double free. + 2012-06-05 Vladimir Serbinenko * grub-core/commands/videoinfo.c (hook): Show pitch. diff --git a/util/grub-probe.c b/util/grub-probe.c index 4db259bd2..6dd1073d1 100644 --- a/util/grub-probe.c +++ b/util/grub-probe.c @@ -169,8 +169,6 @@ escape_of_path (const char *orig_path) } *d = 0; - free ((char *) orig_path); - return new_path; }