From 944f752dbb92acd5a0ff0d4fb30f95b08cebf501 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Tue, 5 Jun 2012 17:16:14 +0200 Subject: [PATCH] * util/grub-probe.c (escape_of_path): Fix double free. --- ChangeLog | 4 ++++ util/grub-probe.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) 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; }