[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] Only initialize/cleanup libpciaccess once



On 02/07/2011 10:05 AM, Daniel P. Berrange wrote:
> libpciaccess has many bugs in its pci_system_init/cleanup
> functions that makes calling them multiple times unwise.
> eg it will double close() FDs, and leak other FDs.
> 
> * src/node_device/node_device_udev.c: Only initialize
>   libpciaccess once
> ---
>  src/node_device/node_device_udev.c |   25 +++++++++++++------------
>  1 files changed, 13 insertions(+), 12 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]