Explicitly initialize fp to NULL. If sendfile is called on a non-socket,
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Wed, 12 Jan 2005 06:23:18 +0000 (06:23 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Wed, 12 Jan 2005 06:23:18 +0000 (06:23 +0000)
commitbec878d2165e9424e874c305456cd2be0bec151c
tree814317f0a2d5500895b732bd4f4495860aa3bd5a
parente19cc9ce660767edacac740a4f72f8976420ed67
Explicitly initialize fp to NULL. If sendfile is called on a non-socket,
holdsock is a nop and the fdrop must not be called.
sys/kern/uipc_syscalls.c