cvs commit: src/sys/netipsec key.c

Bjoern A. Zeeb bz at FreeBSD.org
Sat Mar 8 18:37:03 UTC 2008


bz          2008-03-08 18:37:03 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/netipsec         key.c 
  Log:
  MFC rev. 1.26 key.c
  
    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.20.2.4  +3 -10     src/sys/netipsec/key.c


More information about the cvs-src mailing list