Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion net/pooled_socket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ class TCPSocketPool : public ForwardSocketClient {
list.erase(node);
if (list.empty()) fdmap.erase(it);
rm_watch(node);
delete node;
}

public:
Expand Down Expand Up @@ -250,6 +249,7 @@ class TCPSocketPool : public ForwardSocketClient {
// socket shutdown
drop_from_pool(nodes[i]);
}
for (int i = 0; i < ret; i++) delete nodes[i];
}
}
};
Expand Down
Loading