kernel - devfs - Fix memory leak in devfs_destroy_device_node()
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 18 Mar 2010 18:46:16 +0000 (11:46 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 18 Mar 2010 18:46:16 +0000 (11:46 -0700)
commitab3436e772bb584b470f4932331462cc2e0852e5
tree8a861c400640b9c7ee609dfdd0735e7d62c17236
parent017d4aa0080eba4d7779a8c9614c5cefb8e30d4a
kernel - devfs - Fix memory leak in devfs_destroy_device_node()

* M_TEMP is used by devfs to allocate temporary PATH_MAX buffers

* devfs had a memory leak in a particular failure case, fix it.
  This is likely the reported problem.

Reported-by: John Marino <john@marino.st>
sys/vfs/devfs/devfs_core.c