summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-09-01 13:02:22 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-09-01 13:02:22 +0200
commit82ab08d871628410e8b0b1fe63d25f1b27766b8d (patch)
tree70052b28c29d21d898947bf36664d03764c9abb9
parent65bb75863dde3ecd9a19d7fafc1ad1b0166a4770 (diff)
Premature deallocation bug in XSUB fixed (issue 244)
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-rw-r--r--src/xsub.cpp1
1 files changed, 0 insertions, 1 deletions
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 ();
}