From 82ab08d871628410e8b0b1fe63d25f1b27766b8d Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 1 Sep 2011 13:02:22 +0200 Subject: Premature deallocation bug in XSUB fixed (issue 244) Signed-off-by: Martin Sustrik --- src/xsub.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/xsub.cpp') diff --git a/src/xsub.cpp b/src/xsub.cpp index cf51cdb..4122c67 100644 --- a/src/xsub.cpp +++ b/src/xsub.cpp @@ -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 (); } -- cgit v1.2.3