← Commit list

dc29590d60

Stefan Eissing
Stefan Eissing
2025-12-02
SUCCESS Duration: 166s

Subject

memdebug: log socket close before closing

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/memdebug.c+1 -2
@@ -468,9 +468,8 @@ void curl_dbg_mark_sclose(curl_socket_t sockfd, int line, const char *source)
/* this is our own defined way to close sockets on *ALL* platforms */
int curl_dbg_sclose(curl_socket_t sockfd, int line, const char *source)
{
- int res = CURL_SCLOSE(sockfd);
curl_dbg_mark_sclose(sockfd, line, source);
- return res;
+ return CURL_SCLOSE(sockfd);
}
ALLOC_FUNC