util/grub-mkstandalone: fix memory leak.
Found by: Coverity scan.
This commit is contained in:
parent
be0743b052
commit
bd4e20eedf
1 changed files with 1 additions and 0 deletions
|
@ -284,6 +284,7 @@ add_tar_file (const char *from,
|
||||||
grub_util_fd_close (in);
|
grub_util_fd_close (in);
|
||||||
|
|
||||||
write_pad (size);
|
write_pad (size);
|
||||||
|
free (tcn);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in a new issue