mirror of
http://cgit.git.savannah.gnu.org/git/grub.git
synced 2026-04-28 06:33:17 +00:00
normal: fix memory leak
Found by: Coverity scan. CID: 96685
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user