Commit Diff


commit - 5ce4c55cc90bdd51007f40008c5044d451c6ea09
commit + b9d67604deb91635f67545a801571b0298a44274
blob - ec36716ea606e9472b85231a39ad1fe4d66bff6d
blob + d0e29659553acccbbca336da4bb4e720ee085282
--- web/web.c
+++ web/web.c
@@ -706,7 +706,6 @@ web_accept(int psock, int ev, void *d)
 		warn("accept");
 		return;
 	}
-	clt = xcalloc(1, sizeof(*clt));
 	if ((clt = calloc(1, sizeof(*clt))) == NULL ||
 	    http_init(clt, sock) == -1) {
 		log_warn("failed to initialize client");