From: Vladimir Serbinenko Date: Sat, 24 Jan 2015 20:08:50 +0000 (+0100) Subject: commands/macbless: Remove incorrect grub_free. X-Git-Tag: 2.02-beta3~533 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09e84f188b6e18acf7ae2d3d82d798d92c35d7a5;p=thirdparty%2Fgrub.git commands/macbless: Remove incorrect grub_free. Found by: Coverity Scan --- diff --git a/grub-core/commands/macbless.c b/grub-core/commands/macbless.c index 4724edd77..cf90eea20 100644 --- a/grub-core/commands/macbless.c +++ b/grub-core/commands/macbless.c @@ -203,7 +203,6 @@ grub_cmd_macbless (grub_command_t cmd, int argc, char **args) grub_device_close (dev); grub_free (device_name); - grub_free (path); return grub_error (GRUB_ERR_BAD_ARGUMENT, "invalid argument"); }