(scm_c_issue_deprecation_warning_fmt): Add va_end.
authorKevin Ryde <user42@zip.com.au>
Wed, 9 Jul 2003 22:07:11 +0000 (22:07 +0000)
committerKevin Ryde <user42@zip.com.au>
Wed, 9 Jul 2003 22:07:11 +0000 (22:07 +0000)
libguile/deprecation.c

index f2a3d7d..e4597df 100644 (file)
@@ -84,6 +84,7 @@ scm_c_issue_deprecation_warning_fmt (const char *msg, ...)
 
   va_start (ap, msg);
   vsnprintf (buf, 511, msg, ap);
+  va_end (ap);
   buf[511] = '\0';
   scm_c_issue_deprecation_warning (buf);
 }