Fix inflater memory leak

This commit is contained in:
Tatsuhiro Tsujikawa 2014-02-13 23:26:09 +09:00
parent 39aaad5ad8
commit 2d8c203195
1 changed files with 1 additions and 0 deletions

View File

@ -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) {