Merge pull request #886 from lstefani/patch-1

Update nghttp2_session.c
This commit is contained in:
Tatsuhiro Tsujikawa 2017-04-14 00:16:06 +09:00 committed by GitHub
commit ce6370e25c
1 changed files with 1 additions and 0 deletions

View File

@ -682,6 +682,7 @@ static int inflight_settings_new(nghttp2_inflight_settings **settings_ptr,
if (niv > 0) {
(*settings_ptr)->iv = nghttp2_frame_iv_copy(iv, niv, mem);
if (!(*settings_ptr)->iv) {
nghttp2_mem_free(mem, *settings_ptr);
return NGHTTP2_ERR_NOMEM;
}
} else {