From 2d8c2031956f227a625f670cee25f9e6924844a5 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 13 Feb 2014 23:26:09 +0900 Subject: [PATCH] Fix inflater memory leak --- lib/nghttp2_hd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/nghttp2_hd.c b/lib/nghttp2_hd.c index 71b2fe36..2414fdd2 100644 --- a/lib/nghttp2_hd.c +++ b/lib/nghttp2_hd.c @@ -1414,6 +1414,7 @@ ssize_t nghttp2_hd_inflate_hd(nghttp2_hd_inflater *inflater, DEBUGF(fprintf(stderr, "nghtp2_hd_infalte_hd start state=%d\n", inflater->state)); + hd_inflate_keep_free(inflater); *inflate_flags = NGHTTP2_HD_INFLATE_NONE; for(; in != last;) { switch(inflater->state) {