mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2024-11-24 08:20:20 +00:00
Fix crash with custom memory allocator
This commit is contained in:
parent
c0ffed7788
commit
e0a2353c56
@ -310,6 +310,7 @@ static int session_new(nghttp2_session **session_ptr,
|
||||
}
|
||||
|
||||
(*session_ptr)->mem = *mem;
|
||||
mem = &(*session_ptr)->mem;
|
||||
|
||||
/* next_stream_id is initialized in either
|
||||
nghttp2_session_client_new2 or nghttp2_session_server_new2 */
|
||||
|
Loading…
Reference in New Issue
Block a user