[hackers] [scc] Add missed va_end() in decl.c:push() || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Fri, 14 Aug 2015 07:25:08 +0200 (CEST)

commit 279d40a3b400b6b56def291ae5f558d5527fe7bf
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Fri Aug 14 07:18:38 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Fri Aug 14 07:18:38 2015 +0200

    Add missed va_end() in decl.c:push()

diff --git a/cc1/decl.c b/cc1/decl.c
index 24dcbb3..71925ff 100644
--- a/cc1/decl.c
+++ b/cc1/decl.c
_AT_@ -58,6 +58,7 @@ push(struct declarators *dp, unsigned op, ...)
                 p->sym = va_arg(va, Symbol *);
                 break;
         }
+ va_end(va);
 }
 
 static bool
Received on Fri Aug 14 2015 - 07:25:08 CEST

This archive was generated by hypermail 2.3.0 : Fri Aug 14 2015 - 07:36:14 CEST