Plug a leak.
authorsunil <sunil@openbsd.org>
Tue, 13 Oct 2015 08:33:06 +0000 (08:33 +0000)
committersunil <sunil@openbsd.org>
Tue, 13 Oct 2015 08:33:06 +0000 (08:33 +0000)
Ok gilles@, reyk@

usr.sbin/httpd/server_http.c

index 504f331..d8cf256 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: server_http.c,v 1.100 2015/10/13 07:57:13 reyk Exp $  */
+/*     $OpenBSD: server_http.c,v 1.101 2015/10/13 08:33:06 sunil Exp $ */
 
 /*
  * Copyright (c) 2006 - 2015 Reyk Floeter <reyk@openbsd.org>
@@ -195,6 +195,7 @@ server_http_authenticate(struct server_config *srv_conf, struct client *clt)
                }
        }
 done:
+       free(line);
        if (fp != NULL)
                fclose(fp);