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

Re: [libvirt] [PATCH] qemud: fix memory leak in io error events



On 12/01/2010 08:31 AM, Daniel P. Berrange wrote:
> On Wed, Dec 01, 2010 at 09:29:31AM -0600, Anthony Liguori wrote:
>> The extra data isn't being free()'d for IO error events that have a reason.
>>
>> Signed-off-by: Anthony Liguori <aliguori us ibm com>

>>      switch (event->eventID) {
>> +    case VIR_DOMAIN_EVENT_ID_IO_ERROR_REASON:
>>      case VIR_DOMAIN_EVENT_ID_IO_ERROR:
>>          VIR_FREE(event->data.ioError.srcPath);
>>          VIR_FREE(event->data.ioError.devAlias);
> 
> ACK

Pushed now.

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