summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rep.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rep.cpp b/src/rep.cpp
index 95ea0b1..5e813df 100644
--- a/src/rep.cpp
+++ b/src/rep.cpp
@@ -169,7 +169,7 @@ int zmq::rep_t::xsend (zmq_msg_t *msg_, int flags_)
reply_pipe->flush ();
}
else {
- zmq_close (msg_);
+ zmq_msg_close (msg_);
}
waiting_for_reply = false;