Skip to content
Snippets Groups Projects
Commit 628fff37 authored by rswindell's avatar rswindell
Browse files

Fixed socket leak in dns_getmx() if send() called failed.

parent a7c33568
No related branches found
No related tags found
No related merge requests found
......@@ -294,6 +294,7 @@ int dns_getmx(char* name, char* mx, char* mx2
result=ERROR_VALUE;
else
result=-2;
mail_close_socket(sock);
return(result);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment