Make sure that head_stream is not NULL
This commit is contained in:
parent
d39b56adaa
commit
7e092a7658
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue