Another leak. Sheesh.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3914 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2022-06-20 14:41:08 +00:00
parent b5c6cac048
commit f69e74ce53

View File

@ -516,6 +516,7 @@ void _socket_onResolvedForConnect(uv_getaddrinfo_t* resolver, int status, struct
char error[256];
snprintf(error, sizeof(error), "uv_tcp_connect: %s", uv_strerror(connectResult));
tf_task_reject_promise(data->socket->_task, data->promise, JS_ThrowInternalError(tf_task_get_context(data->socket->_task), "%s", error));
tf_free(request);
}
}
uv_freeaddrinfo(result);