Add va_end for every va_start.

Dotan Barak, dotanba at gmail dot com



git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@23 327403b1-1117-474d-bef2-5cb71233fd97
This commit is contained in:
Michael Clark
2009-01-05 03:57:59 +00:00
parent a0d35c7ebf
commit 8cdac64ccd
4 changed files with 9 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ void lh_abort(const char *msg, ...)
va_list ap;
va_start(ap, msg);
vprintf(msg, ap);
va_end(ap);
exit(1);
}