From 4405250d93a2ad6eb3940c4bc4fe8ea32bd52f9e Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sat, 13 Feb 2010 15:30:03 +0100 Subject: Multi-hop REQ/REP, part IX., pass the peer identity as far as socket_base_t --- src/command.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/command.cpp') diff --git a/src/command.cpp b/src/command.cpp index 7564fe2..8bf7ea2 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -28,6 +28,10 @@ void zmq::deallocate_command (command_t *cmd_) if (cmd_->args.attach.peer_identity) free (cmd_->args.attach.peer_identity); break; + case command_t::bind: + if (cmd_->args.bind.peer_identity) + free (cmd_->args.bind.peer_identity); + break; default: /* noop */; } -- cgit v1.2.3