Re: [PATCH v2 7/9] admin: Add support for connection close callbacks

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

 



>>  #undef DECLARE_CLASS_COMMON
>>  #undef DECLARE_CLASS_LOCKABLE
>> @@ -822,6 +825,9 @@ virAdmConnectNew(void)
>>      if (!(ret = virObjectLockableNew(virAdmConnectClass)))
>>          return NULL;
>>  
>> +    if (!(ret->closeCallback = virObjectLockableNew(virAdmConnectCloseCallbackDataClass)))
>> +        return NULL;
>> +
> 
> You'll need to free ret or have some sort of cleanup here.
> 
> John
> 

Unlike 6/7, I haven't noticed this one, so again, thanks :).

Erik

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