Premature deallocation bug in XSUB fixed (issue 244)

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
Martin Sustrik 2011-09-01 13:02:22 +02:00
parent 65bb75863d
commit 82ab08d871

View File

@ -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 ();
}