diff options
author | Dhammika Pathirana <dhammika@gmail.com> | 2010-10-27 09:37:32 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-10-27 09:37:32 +0200 |
commit | 9a1d4df0fd29e040756bff6302cf9a134074d9b9 (patch) | |
tree | 65ffb7cbb3add998c0cceddf00a2890ecf61ebb1 /src | |
parent | 465da7b17eef4c86020a5def41a87977410b965a (diff) |
fix typo, destroy new engine
Signed-off-by: Dhammika Pathirana <dhammika@gmail.com>
Diffstat (limited to 'src')
-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; } |