mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-06 13:21:10 +01:00
@@ -123,10 +123,8 @@ zmq::socket_base_t *zmq::socket_base_t::create (int type_, class ctx_t *parent_,
|
||||
}
|
||||
|
||||
alloc_assert (s);
|
||||
if (s->mailbox.get_fd () == retired_fd) {
|
||||
delete s;
|
||||
if (s->mailbox.get_fd () == retired_fd)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return s;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user