aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libc/stdio/vfprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/stdio/vfprintf.c b/libc/stdio/vfprintf.c
index 427fc7f94..646b6b11a 100644
--- a/libc/stdio/vfprintf.c
+++ b/libc/stdio/vfprintf.c
@@ -827,6 +827,7 @@ error:
munmap(argtable, argtablesiz);
argtable = NULL;
}
+ va_end(orgap);
return (__sferror(fp) ? EOF : ret);
/* NOTREACHED */
}