diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/info_msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/info_msg.c b/libbb/info_msg.c index 5f375d43b..bc9d23b95 100644 --- a/libbb/info_msg.c +++ b/libbb/info_msg.c @@ -38,6 +38,7 @@ void FAST_FUNC bb_info_msg(const char *s, ...) va_start(p, s); used = vasprintf(&msg, s, p); + va_end(p); if (used < 0) return; @@ -51,6 +52,5 @@ void FAST_FUNC bb_info_msg(const char *s, ...) } free(msg); - va_end(p); #endif } |