normal: fix memory leak
Found by: Coverity scan. CID: 96685
This commit is contained in:
parent
20211c0077
commit
2a3ebf9428
1 changed files with 1 additions and 0 deletions
|
@ -389,6 +389,7 @@ grub_cmdline_get (const char *prompt_translated)
|
|||
if (!unicode_msg)
|
||||
{
|
||||
grub_free (buf);
|
||||
grub_free (cl_terms);
|
||||
return 0;
|
||||
}
|
||||
msg_len = grub_utf8_to_ucs4 (unicode_msg, msg_len - 1,
|
||||
|
|
Loading…
Reference in a new issue