[master] e94a5e4 Also release the req0.

Poul-Henning Kamp phk at FreeBSD.org
Wed Mar 22 01:00:09 CET 2017


commit e94a5e4a88201cf73ff42a27bfcf497461d49c4e
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Mar 21 23:59:14 2017 +0000

    Also release the req0.

diff --git a/bin/varnishd/http2/cache_http2_session.c b/bin/varnishd/http2/cache_http2_session.c
index ce28251..4c46a57 100644
--- a/bin/varnishd/http2/cache_http2_session.c
+++ b/bin/varnishd/http2/cache_http2_session.c
@@ -288,6 +288,7 @@ h2_new_session(struct worker *wrk, void *arg)
 		CNT_AcctLogCharge(wrk->stats, req);
 		VCL_Rel(&req->vcl);
 		Req_Release(req);
+		h2_del_req(wrk, h2->req0);
 		SES_Delete(h2->sess, SC_RX_JUNK, NAN);
 		return;
 	}



More information about the varnish-commit mailing list