Commit 6caa1737 authored by Pieter Hintjens's avatar Pieter Hintjens

Merge pull request #567 from ianbarber/master

Fixed memory leak in stream engine
parents 240eff38 9a0b2c89
......@@ -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