diff --git a/common/lib/debug.c b/common/lib/debug.c index e275f83..fe19530 100644 --- a/common/lib/debug.c +++ b/common/lib/debug.c @@ -59,6 +59,7 @@ int debug(int class,char *format,...) va_start(ap,format); vfprintf(stderr,format,ap); fprintf(stderr,"\n"); + va_end(ap); return(0); }