CVSROOT:        /cvs
Module name:    src
Changes by:     o...@cvs.openbsd.org    2011/06/23 15:59:53

Modified files:
        sys/nnpfs      : nnpfs_syscalls-common.c nnpfs_vfsops-common.c 
                         nnpfs_vnodeops-common.c 

Log message:
free(null) ist verboten in the kernel.

The addition of M_CANFAIL here made it possible (if rather unlikely)
that we'd fail and goto done, where we would free(NULL).

protect the free with a null check to prevent this.

ok miod@

Reply via email to