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);
|
va_start (ap, fmt);
|
||||||
result = grub_xvasprintf (fmt, ap);
|
result = grub_xvasprintf (fmt, ap);
|
||||||
|
va_end (ap);
|
||||||
if (!result)
|
if (!result)
|
||||||
grub_util_error ("%s", _("out of memory"));
|
grub_util_error ("%s", _("out of memory"));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue