mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-07 18:48:54 +08:00
Fix inflater memory leak
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user