summaryrefslogtreecommitdiff
path: root/src/node_http2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_http2.h')
-rw-r--r--src/node_http2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_http2.h b/src/node_http2.h
index 70c284c357..a046ade0fd 100644
--- a/src/node_http2.h
+++ b/src/node_http2.h
@@ -1203,6 +1203,7 @@ class ExternalHeader :
}
if (may_internalize && vec.len < 64) {
+ nghttp2_rcbuf_decref(buf);
// This is a short header name, so there is a good chance V8 already has
// it internalized.
return GetInternalizedString(env, vec);