STABLE14-darwin80-avoid-stack-free-20060915

thanks to apple for their help; all i did was code the patch


(cherry picked from commit 3473fa4ec7c8a7362003ba3d278345339bbf3e36)
This commit is contained in:
Derrick Brashear 2006-09-16 01:11:24 +00:00
parent 59474c0831
commit 27efb7d20f

View File

@ -127,7 +127,9 @@ osi_NetReceive(osi_socket so, struct sockaddr_in *addr, struct iovec *dvec,
*addr = *(struct sockaddr_in *)sa;
} else
printf("Unknown socket family %d in NetReceive\n", sa->sa_family);
#ifndef AFS_DARWIN80_ENV
FREE(sa, M_SONAME);
#endif
}
return code;
}