grub2/0189-commands-macbless-Remove-incorrect-grub_free.patch
Peter Jones 8c6b1ac71e Reconcile with upstream once again.
Also include some minor fixes for gcc 5.1.1

Signed-off-by: Peter Jones <pjones@redhat.com>
2015-07-22 09:46:32 -04:00

26 lines
760 B
Diff

From 09e84f188b6e18acf7ae2d3d82d798d92c35d7a5 Mon Sep 17 00:00:00 2001
From: Vladimir Serbinenko <phcoder@gmail.com>
Date: Sat, 24 Jan 2015 21:08:50 +0100
Subject: [PATCH 189/506] commands/macbless: Remove incorrect grub_free.
Found by: Coverity Scan
---
grub-core/commands/macbless.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/grub-core/commands/macbless.c b/grub-core/commands/macbless.c
index 4724edd..cf90eea 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");
}
--
2.4.3