projects
/
grub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c831d20
)
Add missing va_end() to xasprintf() in grub-emu.
author
Pete Batard
<pete@akeo.ie>
Sat, 13 Aug 2016 08:51:34 +0000
(10:51 +0200)
committer
Andrei Borzenkov
<arvidjaar@gmail.com>
Sat, 13 Aug 2016 13:36:01 +0000
(16:36 +0300)
grub-core/kern/emu/misc.c
patch
|
blob
|
history
diff --git
a/grub-core/kern/emu/misc.c
b/grub-core/kern/emu/misc.c
index
d361feb
..
7666133
100644
(file)
--- a/
grub-core/kern/emu/misc.c
+++ b/
grub-core/kern/emu/misc.c
@@
-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"));