mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-14 02:57:47 +01:00
Premature deallocation bug in XSUB fixed (issue 244)
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
parent
65bb75863d
commit
82ab08d871
@ -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 ();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user