diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-02-13 15:30:03 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-02-13 15:30:03 +0100 |
commit | 4405250d93a2ad6eb3940c4bc4fe8ea32bd52f9e (patch) | |
tree | 529c5b87ed71453e406f8bd5e74b84f1b48fe5e2 /src/command.cpp | |
parent | f5ce81f2893ec0707c2f4346740878e68b51e13a (diff) |
Multi-hop REQ/REP, part IX., pass the peer identity as far as socket_base_t
Diffstat (limited to 'src/command.cpp')
-rw-r--r-- | src/command.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 */; } |