Commit afa4933c authored by Ian Barber's avatar Ian Barber

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.
parent 2a209140
......@@ -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 ();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment