Browse Source

Merge commit '8971c56' into cg_merges_20130524b

Luke Dashjr 12 years ago
parent
commit
e90189f52a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      logging.c

+ 1 - 0
logging.c

@@ -120,6 +120,7 @@ static void log_generic(int prio, const char *fmt, va_list ap)
 
 			va_copy(apc, ap);
 			vfprintf(stderr, f, apc);	/* atomic write to stderr */
+			va_end(apc);
 			fflush(stderr);
 		}