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

2013-04-30 Thread Jim Fehlig
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

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

2013-04-30 Thread Eric Blake
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/libx

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

2013-04-29 Thread Jim Fehlig
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 in