Commit 9a1d4df0 authored by Dhammika Pathirana's avatar Dhammika Pathirana Committed by Martin Sustrik

fix typo, destroy new engine

Signed-off-by: 's avatarDhammika Pathirana <dhammika@gmail.com>
parent 465da7b1
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment