Problem: address sanitizer complains about uninitialised func pointer

Solution: just call the function directly
This commit is contained in:
Luca Boccassi 2023-01-15 22:08:55 +00:00
parent 3cafc0c260
commit ee9c0919e2

View File

@ -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_);