cvs commit: src/sys/netipsec key.c

Bjoern A. Zeeb bz at FreeBSD.org
Sat Jun 16 00:15:15 UTC 2007


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


More information about the cvs-src mailing list