[libmultipath] plug leaks with libsysfs usage in discovery.c
authorChristophe Varoqui <root@xa-s05.(none)>
Thu, 27 Oct 2005 09:08:31 +0000 (11:08 +0200)
committerChristophe Varoqui <root@xa-s05.(none)>
Thu, 27 Oct 2005 09:08:31 +0000 (11:08 +0200)
commit4bcb086174a3406d0ea1e8bd626f1e64f29eddf2
treeca526b013686cb5f979bc6f8cf76a34da4bf94b6
parentcbfdc79b9ecad56aefece7d9bad40b42fc55213a
[libmultipath] plug leaks with libsysfs usage in discovery.c

- forgot to sysfs_close_device() in "bus" fetching
- leaked a sysfs_dir on error path
libmultipath/discovery.c