[libvirt] [PATCH 0/2] Check return status for virDomainGraphicsListenSetAddress

John Ferlan jferlan at redhat.com
Tue Feb 9 12:34:00 UTC 2016


The second patch is a result of a Coverity found issue - the first one is
collateral damage found because my first pass just checked the status and
went to error resulting in a resource leak.... Rather than add two more
lines for calling the graphic def free function, it was just easier to
refactor the code.

John Ferlan (2):
  qemu: Refactor qemuParseCommandLine error path for vnc parse
  qemu: Check return status for virDomainGraphicsListenSetAddress

 src/qemu/qemu_command.c | 41 +++++++++++++++++------------------------
 1 file changed, 17 insertions(+), 24 deletions(-)

-- 
2.5.0




More information about the libvir-list mailing list