mirror of
https://github.com/curl/curl.git
synced 2026-08-26 19:53:31 +03:00
memdebug: log socket close before closing
To not get a mixup in the memdebug log order. Closes #19793
This commit is contained in:
parent
85a6936d76
commit
dc29590d60
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue