Re: [PATCH 4/4] pci: avoid memory leak on error

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

 



On 06/30/2011 07:13 PM, Wen Congyang wrote:
> At 07/01/2011 07:36 AM, Eric Blake Write:
>> Detected by Coverity.  Some, but not all, error paths were clean;
>> but they were repetitive so I refactored them.
>>
>> * src/util/pci.c (pciGetDevice): Plug leak.
>> ---
>>  src/util/pci.c |   31 +++++++++++++++----------------
>>  1 files changed, 15 insertions(+), 16 deletions(-)
>>
> 
> ACK

Thanks; 1, 2, and 4 now pushed.  I'll revise 3 for my next round of
Coverity findings.

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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]