summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_input.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2007-06-16 00:15:14 +0000
committerbz <bz@FreeBSD.org>2007-06-16 00:15:14 +0000
commite1f2e7690497be9f169ae2ca111f08881f575df0 (patch)
tree8e8063434abe72ae4399a1d125657195d69e2927 /sys/netinet/sctp_input.c
parent2e4e9b90cb613b32969504f14642838cad9d5f31 (diff)
downloadFreeBSD-src-e1f2e7690497be9f169ae2ca111f08881f575df0.zip
FreeBSD-src-e1f2e7690497be9f169ae2ca111f08881f575df0.tar.gz
In case of failure we can directly return ENOBUFS because
'result' is still NULL and we do not need to free anything. That allows us to gc the entire goto parts and a now unused variable. Found with: Coverity Prevent(tm) CID: 2519
Diffstat (limited to 'sys/netinet/sctp_input.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud