mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-27 11:06:52 +01:00
define a macro for heap object deletion in a unified manner (related to issue #1524)
This commit is contained in:
@@ -88,7 +88,7 @@ void zmq_threadclose(void* thread)
|
||||
{
|
||||
zmq::thread_t* pThread = static_cast<zmq::thread_t*>(thread);
|
||||
pThread->stop();
|
||||
delete pThread;
|
||||
LIBZMQ_DELETE(pThread);
|
||||
}
|
||||
|
||||
// Z85 codec, taken from 0MQ RFC project, implements RFC32 Z85 encoding
|
||||
|
||||
Reference in New Issue
Block a user