From 3ca712841839e6920a1f61718daf134ee188a648 Mon Sep 17 00:00:00 2001 From: sunil Date: Tue, 13 Oct 2015 08:33:06 +0000 Subject: [PATCH] Plug a leak. Ok gilles@, reyk@ --- usr.sbin/httpd/server_http.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.sbin/httpd/server_http.c b/usr.sbin/httpd/server_http.c index 504f3318fe1..d8cf256be9e 100644 --- a/usr.sbin/httpd/server_http.c +++ b/usr.sbin/httpd/server_http.c @@ -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 @@ -195,6 +195,7 @@ server_http_authenticate(struct server_config *srv_conf, struct client *clt) } } done: + free(line); if (fp != NULL) fclose(fp); -- 2.20.1