[libvirt] [PATCH 2/2] uml:release config object when uml driver shutdown

Guannan Ren gren at redhat.com
Thu Mar 28 04:03:10 UTC 2013


On 03/28/2013 12:01 AM, Martin Kletzander wrote:
> On 03/27/2013 12:03 PM, Guannan Ren wrote:
>> ---
>>   src/uml/uml_driver.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/src/uml/uml_driver.c b/src/uml/uml_driver.c
>> index b08212d..09a777c 100644
>> --- a/src/uml/uml_driver.c
>> +++ b/src/uml/uml_driver.c
>> @@ -640,6 +640,7 @@ umlShutdown(void) {
>>           virEventRemoveHandle(uml_driver->inotifyWatch);
>>       VIR_FORCE_CLOSE(uml_driver->inotifyFD);
>>       virObjectUnref(uml_driver->caps);
>> +    virObjectUnref(uml_driver->xmlconf);
>>   
>>       /* shutdown active VMs
>>        * XXX allow them to stay around & reconnect */
>>
> Although I'm not very familiar with the uml codebase, from the looks of
> it, this sounds reasonable.
>
> ACK,
>
> Martin

     Pushed, thanks guy

     Guannan




More information about the libvir-list mailing list