summaryrefslogtreecommitdiff
path: root/src/command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.cpp')
-rw-r--r--src/command.cpp4
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 */;
}