Skip to content

Commit 4e0f8f6

Browse files
pbatardarvidjaar
authored andcommitted
Add missing va_end() to xasprintf() in grub-emu.
1 parent c831d20 commit 4e0f8f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

grub-core/kern/emu/misc.c

+1
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ xasprintf (const char *fmt, ...)
127127

128128
va_start (ap, fmt);
129129
result = grub_xvasprintf (fmt, ap);
130+
va_end (ap);
130131
if (!result)
131132
grub_util_error ("%s", _("out of memory"));
132133

0 commit comments

Comments
 (0)