Instead of calling free(line) in each error case, call it once in fail:.
authorreyk <reyk@openbsd.org>
Tue, 6 Jan 2015 13:48:15 +0000 (13:48 +0000)
committerreyk <reyk@openbsd.org>
Tue, 6 Jan 2015 13:48:15 +0000 (13:48 +0000)
commit03fd4389d322b0d56638505ec31b39cfe05d16aa
tree3e3afce7589eb4e4c096e6136b2d32e5d530b70d
parentfc062027518ac390c7d2dec7b62adc59a8a89c33
Instead of calling free(line) in each error case, call it once in fail:.

From Fabian Raetz at gmail
usr.sbin/httpd/server_http.c