mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 10:33:52 +01:00
Problem: address sanitizer complains about uninitialised func pointer
Solution: just call the function directly
This commit is contained in:
parent
3cafc0c260
commit
ee9c0919e2
@ -124,7 +124,7 @@ void zmq::raw_engine_t::error (error_reason_t reason_)
|
||||
// so that it knows the peer has been disconnected.
|
||||
msg_t terminator;
|
||||
terminator.init ();
|
||||
(this->*_process_msg) (&terminator);
|
||||
push_raw_msg_to_session (&terminator);
|
||||
terminator.close ();
|
||||
}
|
||||
stream_engine_base_t::error (reason_);
|
||||
|
Loading…
Reference in New Issue
Block a user