Add missing va_end() to xasprintf() in grub-emu.
This commit is contained in:
parent
c831d2073b
commit
4e0f8f66e3
1 changed files with 1 additions and 0 deletions
|
@ -127,6 +127,7 @@ xasprintf (const char *fmt, ...)
|
|||
|
||||
va_start (ap, fmt);
|
||||
result = grub_xvasprintf (fmt, ap);
|
||||
va_end (ap);
|
||||
if (!result)
|
||||
grub_util_error ("%s", _("out of memory"));
|
||||
|
||||
|
|
Loading…
Reference in a new issue