Date: Sat, 16 Jun 2007 00:15:15 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netipsec key.c Message-ID: <200706160015.l5G0FFR1057501@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2007-06-16 00:15:15 UTC FreeBSD src repository Modified files: sys/netipsec key.c Log: 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 Revision Changes Path 1.26 +3 -10 src/sys/netipsec/key.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706160015.l5G0FFR1057501>