mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-31 01:43:02 +08:00
Init message in drop subscription
Fixes reported issue with PGM receiver on 32bit Suse where asserts were hit due to the msg flags not being zeroed.
This commit is contained in:
parent
2a209140f7
commit
afa4933c1e
@ -274,6 +274,7 @@ void zmq::pgm_receiver_t::timer_event (int token)
|
||||
void zmq::pgm_receiver_t::drop_subscriptions ()
|
||||
{
|
||||
msg_t msg;
|
||||
msg.init ();
|
||||
while (session->pull_msg (&msg))
|
||||
msg.close ();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user