kqueue - Fix junk kfree() in doselect()
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 10 Aug 2010 16:58:39 +0000 (09:58 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 10 Aug 2010 16:58:39 +0000 (09:58 -0700)
commitd0d4a734aeb9b208b70c5b50aa5702fa5edc8c83
tree136ab29aca8952883b61e5a28d2d2f079895e8d7
parentd570884f7d80a55beac6862a3b24c51d148fe0f7
kqueue - Fix junk kfree() in doselect()

* Fix uninitialized fields which could cause kfree() to be called on
  junk data when a copyin error occurs.

* Minor cleanups.

Reported-by: swildner
sys/kern/sys_generic.c