]> git.ipfire.org Git - thirdparty/libvirt.git/commit
don't leak a file descriptor on failed pciGetDevice call
authorJim Meyering <meyering@redhat.com>
Tue, 3 Mar 2009 11:25:35 +0000 (11:25 +0000)
committerJim Meyering <meyering@redhat.com>
Tue, 3 Mar 2009 11:25:35 +0000 (11:25 +0000)
commit8343dcb893fead05d7f25a6ffb44272c0ed1e8bb
tree597820f4e6db4433dce8c010b716bfe25f7bdcca
parent260082321c42c39e1f4fe6ce9ff3677851fb4fb0
don't leak a file descriptor on failed pciGetDevice call

* src/pci.c (pciIterDevices): Always close dir handle.
ChangeLog
src/pci.c