cvs commit: src/sys/kern uipc_syscalls.c src/sys/compat/linux
linux_socket.c
John Baldwin
jhb at FreeBSD.org
Wed Jul 19 18:29:14 UTC 2006
jhb 2006-07-19 18:28:52 UTC
FreeBSD src repository
Modified files:
sys/kern uipc_syscalls.c
sys/compat/linux linux_socket.c
Log:
Don't free the sockaddr in kern_bind() and kern_connect() as not all
callers pass a sockaddr allocated via malloc() from M_SONAME anymore.
Instead, free it in the callers when necessary.
Revision Changes Path
1.70 +4 -1 src/sys/compat/linux/linux_socket.c
1.232 +6 -4 src/sys/kern/uipc_syscalls.c
More information about the cvs-all
mailing list