]> granicus.if.org Git - apache/commitdiff
* modules/http/http_request.c
authorAndré Malo <nd@apache.org>
Sat, 15 Oct 2005 21:37:38 +0000 (21:37 +0000)
committerAndré Malo <nd@apache.org>
Sat, 15 Oct 2005 21:37:38 +0000 (21:37 +0000)
  (ap_allow_methods): add missing va_end call

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@321500 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_request.c

index 22c23af6da6d785023352512fc3f10af0467cff9..1bae06f48c72637e673e95134221b399201d869b 100644 (file)
@@ -530,6 +530,7 @@ AP_DECLARE(void) ap_allow_methods(request_rec *r, int reset, ...)
     while ((method = va_arg(methods, const char *)) != NULL) {
         ap_method_list_add(r->allowed_methods, method);
     }
+    va_end(methods);
 }
 
 AP_DECLARE(void) ap_allow_standard_methods(request_rec *r, int reset, ...)