commit | 1654a0462723b3b75d7a4a20bedfc653cc3e1f1a | [log] [tgz] |
---|---|---|
author | Alan Coopersmith <alan.coopersmith@oracle.com> | Wed Jul 02 23:41:10 2014 |
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | Thu Jul 03 20:42:06 2014 |
tree | 92713dae1e4c22c7b62cd46e6abf8201fdda83cb | |
parent | ee4e253a3f1a62e2f3f89f5339590fd4e6cde7c4 [diff] |
Solaris: Fix fd leak in pci_device_solx_devfs_map_range() Caching fd's for reuse is most effective when you actually stick the newly opened fd in the cache, instead of letting it leak at the end of the function. Regression introduced by yours truly in commit 9f2d95e61896f41adb. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Randy Fishel <randy.fishel@oracle.com>