Commit 7e092a76 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Make sure that head_stream is not NULL

parent d39b56ad
...@@ -1108,6 +1108,8 @@ void nghttp2_session_adjust_closed_stream(nghttp2_session *session, ...@@ -1108,6 +1108,8 @@ void nghttp2_session_adjust_closed_stream(nghttp2_session *session,
head_stream = session->closed_stream_head; head_stream = session->closed_stream_head;
assert(head_stream);
session->closed_stream_head = head_stream->closed_next; session->closed_stream_head = head_stream->closed_next;
if (session->closed_stream_head) { if (session->closed_stream_head) {
......
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