diff options
author | Jan Janssen <medhefgo@web.de> | 2022-11-14 14:18:26 +0100 |
---|---|---|
committer | Jan Janssen <medhefgo@web.de> | 2022-11-19 16:36:02 +0100 |
commit | b7b327f856b3782f28be561d612d66ff406c7789 (patch) | |
tree | 72160300ba1dbbd06280f34c5f41bd2f3fdbfe60 /src/boot | |
parent | remove obsolete translate in zh_CN.po (diff) | |
download | systemd-b7b327f856b3782f28be561d612d66ff406c7789.tar.xz systemd-b7b327f856b3782f28be561d612d66ff406c7789.zip |
boot: Fix memory leak
Diffstat (limited to 'src/boot')
-rw-r--r-- | src/boot/efi/boot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index 76023b14ca..76c756c5cf 100644 --- a/src/boot/efi/boot.c +++ b/src/boot/efi/boot.c @@ -2658,7 +2658,7 @@ EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *sys_table) { EFI_LOADED_IMAGE_PROTOCOL *loaded_image; _cleanup_(file_closep) EFI_FILE *root_dir = NULL; _cleanup_(config_free) Config config = {}; - char16_t *loaded_image_path; + _cleanup_free_ char16_t *loaded_image_path = NULL; EFI_STATUS err; uint64_t init_usec; bool menu = false; |