git: b4c5d5827fdd - main - loader/efi: plug memory leak
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Sep 2025 17:30:33 UTC
The branch main has been updated by vexeduxr: URL: https://cgit.FreeBSD.org/src/commit/?id=b4c5d5827fdd4c4cf6c1c7576c29a4b3345a7390 commit b4c5d5827fdd4c4cf6c1c7576c29a4b3345a7390 Author: Ahmad Khalifa <vexeduxr@FreeBSD.org> AuthorDate: 2025-09-09 17:19:50 +0000 Commit: Ahmad Khalifa <vexeduxr@FreeBSD.org> CommitDate: 2025-09-09 17:19:50 +0000 loader/efi: plug memory leak Reviewed by: tsoome Differential Revision: https://reviews.freebsd.org/D52433 --- stand/efi/loader/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c index 4251e6f25ce8..d05e11f8eadd 100644 --- a/stand/efi/loader/main.c +++ b/stand/efi/loader/main.c @@ -1120,6 +1120,8 @@ read_loader_env(const char *name, char *def_fn, bool once) printf(" Reading loader env vars from %s\n", fn); parse_loader_efi_config(boot_img->DeviceHandle, fn); } + + free(freeme); } caddr_t