diff --git a/src/boot/efi/util.h b/src/boot/efi/util.h index 0c477fccf1..9e8db3e7c9 100644 --- a/src/boot/efi/util.h +++ b/src/boot/efi/util.h @@ -79,7 +79,7 @@ static inline void free_poolp(void *p) { if (!q) return; - FreePool(q); + (void) BS->FreePool(q); } #define _cleanup_freepool_ _cleanup_(free_poolp)