We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bfb17f commit 0427354Copy full SHA for 0427354
1 file changed
src/cares_wrap.cc
@@ -296,11 +296,6 @@ void node_ares_task::MemoryInfo(MemoryTracker* tracker) const {
296
node_ares_task* ares_task_create(ChannelWrap* channel, ares_socket_t sock) {
297
auto task = new node_ares_task();
298
299
- if (task == nullptr) {
300
- /* Out of memory. */
301
- return nullptr;
302
- }
303
-
304
task->channel = channel;
305
task->sock = sock;
306
0 commit comments