[libvirt] [PATCH 0/2] A couple coverity patches

Michal Prívozník mprivozn at redhat.com
Sat Jun 22 07:07:22 UTC 2019


On 6/21/19 9:43 PM, John Ferlan wrote:
> Coverity has been tripped up a few more times recently... 
> The memory leak patch probably I what I noted from Jiri's recent
> CPU series. The return value check is older. It wasn't clear
> though if the intention of the module was to ignore errors
> so I just chose to error out like other similar callers. If
> there's a better way - then other patches can be posted.
> 
> John Ferlan (2):
>   cpu_x86: Fix memory leak - virCPUx86GetHost
>   cpu_x86: Handle error in x86DataToCPU when calling x86DataAdd
> 
>  src/cpu/cpu_x86.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 

Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

Michal




More information about the libvir-list mailing list