mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2024-11-24 00:10:12 +00:00
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;
|
||||
|
||||
assert(head_stream);
|
||||
|
||||
session->closed_stream_head = head_stream->closed_next;
|
||||
|
||||
if (session->closed_stream_head) {
|
||||
|
Loading…
Reference in New Issue
Block a user