Commit 9a0b2c89 authored by Ian Barber's avatar Ian Barber

Pieter's change to fix memory leak on mechanism

parent 240eff38
......@@ -133,6 +133,8 @@ zmq::stream_engine_t::~stream_engine_t ()
delete encoder;
if (decoder != NULL)
delete decoder;
if (mechanism != NULL)
delete mechanism;
}
void zmq::stream_engine_t::plug (io_thread_t *io_thread_,
......
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