diff options
Diffstat (limited to 'x2p/util.c')
-rw-r--r-- | x2p/util.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/x2p/util.c b/x2p/util.c index ab24808d73..73f3d0f604 100644 --- a/x2p/util.c +++ b/x2p/util.c @@ -183,6 +183,7 @@ croak(char *pat,...) va_start(args, pat); vfprintf(stderr,pat,args); + va_end(args); #else fprintf(stderr,pat,a1,a2,a3,a4); #endif @@ -197,6 +198,7 @@ fatal(char *pat,...) va_start(args, pat); vfprintf(stderr,pat,args); + va_end(args); #else fprintf(stderr,pat,a1,a2,a3,a4); #endif @@ -214,6 +216,7 @@ warn(char *pat,...) va_start(args, pat); vfprintf(stderr,pat,args); + va_end(args); #else fprintf(stderr,pat,a1,a2,a3,a4); #endif |