]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
factor: add a missing va_end
authorJim Meyering <meyering@redhat.com>
Sat, 12 Dec 2009 07:10:07 +0000 (08:10 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 12 Dec 2009 07:10:07 +0000 (08:10 +0100)
* src/factor.c (debug): Add missing va_end.

src/factor.c

index 38c9a115b69827f9cff2e13e2db8ea977b1163e1..cf1868ce21ff0b6c9c7cc88433fdcc48cafb1cc3 100644 (file)
@@ -60,6 +60,7 @@ debug (char const *fmt, ...)
       va_list ap;
       va_start (ap, fmt);
       vfprintf (stderr, fmt, ap);
+      va_end (ap);
     }
 }