SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,12 @@
Nothing to free when getaddrinfo returns error.
--- generic/udp_tcl.c.orig Thu Oct 9 07:23:05 2014
+++ generic/udp_tcl.c Thu Oct 9 07:23:25 2014
@@ -1315,7 +1315,6 @@ UdpMulticast(UdpState *statePtr, Tcl_Interp *interp,
if (r != 0 ) {
Tcl_SetResult(interp, "invalid group name", TCL_STATIC);
- freeaddrinfo(result);
return TCL_ERROR;
} else {
memcpy(&mreq6.ipv6mr_multiaddr, &((struct sockaddr_in6*)(result->ai_addr))->sin6_addr,sizeof(mreq6.ipv6mr_multiaddr));