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

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



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 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]