From bd4e20eedfaa3079a2efcb13559e916772365ee1 Mon Sep 17 00:00:00 2001 From: Andrei Borzenkov Date: Mon, 26 Jan 2015 22:20:51 +0300 Subject: [PATCH] util/grub-mkstandalone: fix memory leak. Found by: Coverity scan. --- util/grub-mkstandalone.c | 1 + 1 file changed, 1 insertion(+) diff --git a/util/grub-mkstandalone.c b/util/grub-mkstandalone.c index 6017d7155..4907d44c0 100644 --- a/util/grub-mkstandalone.c +++ b/util/grub-mkstandalone.c @@ -284,6 +284,7 @@ add_tar_file (const char *from, grub_util_fd_close (in); write_pad (size); + free (tcn); } int