[PATCH 0/2] A couple coverity patches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.20.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux