diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-03-25 15:03:29 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-03-25 15:03:29 +0000 |
commit | f594b5f37bad3af3a3ecddfae898048e07a57bc1 (patch) | |
tree | 11842e9420815dabd22cfaa6cdb3c5d9c18bdff4 /sys/netipx/ipx_pcb.h | |
parent | bb7f7422a3416143c19361a3ec36ba3b2ff33457 (diff) | |
download | FreeBSD-src-f594b5f37bad3af3a3ecddfae898048e07a57bc1.zip FreeBSD-src-f594b5f37bad3af3a3ecddfae898048e07a57bc1.tar.gz |
Restructure spx_attach() to properly free memory in the event that one
of its allocations fails. Allocate the ipxp last so as to avoid having
to free it if another allocation goes wrong.
Normalize retrieval of ipxp and cb from socket in spx_sp_attach(), and
add assertions.
MFC after: 1 month
Diffstat (limited to 'sys/netipx/ipx_pcb.h')
0 files changed, 0 insertions, 0 deletions