Add missing va_end() to xasprintf() in grub-emu.

This commit is contained in:
Pete Batard 2016-08-13 10:51:34 +02:00 committed by Andrei Borzenkov
parent c831d2073b
commit 4e0f8f66e3

View file

@ -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"));