Commit 82ab08d8 authored by Martin Sustrik's avatar Martin Sustrik

Premature deallocation bug in XSUB fixed (issue 244)

Signed-off-by: 's avatarMartin Sustrik <sustrik@250bpm.com>
parent 65bb7586
......@@ -211,7 +211,6 @@ void zmq::xsub_t::send_subscription (unsigned char *data_, size_t size_,
// Send it to the pipe.
bool sent = pipe->write (&msg);
zmq_assert (sent);
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