mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-19 10:12:31 +00:00
![]() It is possible for the code to reach the end of the function without freeing the memory allocated to argv and argc still to be 0. We should always call grub_free(argv). The grub_free() will handle a NULL argument correctly if it reaches that code without the memory being allocated. Fixes: CID 96672 Signed-off-by: Darren Kenny <darren.kenny@oracle.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com> |
||
---|---|---|
.. | ||
auth.c | ||
autofs.c | ||
charset.c | ||
cmdline.c | ||
color.c | ||
completion.c | ||
context.c | ||
crypto.c | ||
dyncmd.c | ||
main.c | ||
menu_entry.c | ||
menu_text.c | ||
menu.c | ||
misc.c | ||
term.c |