summaryrefslogtreecommitdiff
path: root/src/zmq.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zmq.cpp')
-rw-r--r--src/zmq.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zmq.cpp b/src/zmq.cpp
index 0fb6fe1..d19b229 100644
--- a/src/zmq.cpp
+++ b/src/zmq.cpp
@@ -176,7 +176,7 @@ void *zmq_init (int app_threads_, int io_threads_)
int zmq_term (void *context_)
{
- ((zmq::context_t*) context_)->shutdown ();
+ delete (zmq::context_t*) context_;
return 0;
}