]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
commands/macbless: Remove incorrect grub_free.
authorVladimir Serbinenko <phcoder@gmail.com>
Sat, 24 Jan 2015 20:08:50 +0000 (21:08 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Sat, 24 Jan 2015 20:08:50 +0000 (21:08 +0100)
Found by: Coverity Scan

grub-core/commands/macbless.c

index 4724edd770987072bde19e7f9caee348c92f9b2c..cf90eea204b26946facd4a64175df3fdee89c28a 100644 (file)
@@ -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");
     }