mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-26 18:42:43 +01:00
Pieter's change to fix memory leak on mechanism
This commit is contained in:
@@ -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_,
|
||||
|
||||
Reference in New Issue
Block a user