Commit 2d8c2031 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Fix inflater memory leak

parent 39aaad5a
...@@ -1414,6 +1414,7 @@ ssize_t nghttp2_hd_inflate_hd(nghttp2_hd_inflater *inflater, ...@@ -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", DEBUGF(fprintf(stderr, "nghtp2_hd_infalte_hd start state=%d\n",
inflater->state)); inflater->state));
hd_inflate_keep_free(inflater);
*inflate_flags = NGHTTP2_HD_INFLATE_NONE; *inflate_flags = NGHTTP2_HD_INFLATE_NONE;
for(; in != last;) { for(; in != last;) {
switch(inflater->state) { switch(inflater->state) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment