From: Vladimir 'phcoder' Serbinenko Date: Tue, 5 Jun 2012 15:16:14 +0000 (+0200) Subject: * util/grub-probe.c (escape_of_path): Fix double free. X-Git-Tag: 2.00~122 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=944f752dbb92acd5a0ff0d4fb30f95b08cebf501;p=thirdparty%2Fgrub.git * util/grub-probe.c (escape_of_path): Fix double free. --- 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; }