diff options
-rw-r--r-- | src/session.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.cpp b/src/session.cpp index 98e3c49..652cc05 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -227,7 +227,7 @@ void zmq::session_t::process_attach (i_engine *engine_, // Note that we don't have to unplug it before deleting as it's not // yet plugged to the session. if (state == terminating) { - delete engine; + delete engine_; return; } |