0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-29 08:39:42 +08:00

Merge pull request #567 from ianbarber/master

Fixed memory leak in stream engine
This commit is contained in:
Pieter Hintjens 2013-05-29 14:13:13 -07:00
commit 6caa17373b

View File

@ -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_,