On Mon, 2015-07-13 at 17:22 +0100, Wei Liu wrote: > Coverity complains cpupool_info leaks a string in failure path. Instead > of fixing that path, we rely on the callers (two public APIs at the > moment) of cpupool_info correctly call libxl_cpupoolinfo_dispose in > their failure path to dispose of any resources. > > That involves: > 1. Call _init and _dispose in libxl_list_cpupool > 2. Call _init in numa_place_domain > > Fix numa_place_domain to use goto style to make things more clearer. > > Signed-off-by: Wei Liu > Reviewed-by: Dario Faggioli Dario -- <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)