[libvirt] [PATCH] libxl: Fix double-dispose of libxl domain config

Jim Fehlig jfehlig at suse.com
Tue Apr 30 15:17:23 UTC 2013


Eric Blake wrote:
> On 04/29/2013 05:20 PM, Jim Fehlig wrote:
>   
>> libxlBuildDomainConfig() was disposing the libxl_domain_config object
>> on error, only to have it disposed again by libxlBuildDomainConfig()'s
>> caller, which resulted in a segfault.  Leave disposing of the config
>> object to it's owner.
>> ---
>>  src/libxl/libxl_conf.c | 12 ++++--------
>>  1 file changed, 4 insertions(+), 8 deletions(-)
>>     
>
> ACK.
>   

Thanks, pushed for 1.0.5 since it's strictly a bug fix.

Regards,
Jim




More information about the libvir-list mailing list