tests: refactor qemuMonitorTestProcessCommandDefault
tests: refactor qemuMonitorTestProcessCommandDefault

Use VIR_AUTOPTR and get rid of the 'ret' variable.

Signed-off-by: Ján Tomko <4cab11cfb98d3c937327354a78eb07dbb6ee2bc6@redhat.com>

zippy2/libvirt,zippy2/libvirt,libvirt/libvirt,nertpinx/libvirt,crobinso/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,jardasgit/libvirt,jardasgit/libvirt,eskultety/libvirt,libvirt/libvirt,nertpinx/libvirt,olafhering/libvirt,jfehlig/libvirt,eskultety/libvirt,fabianfreyer/libvirt,crobinso/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,zippy2/libvirt,nertpinx/libvirt,zippy2/libvirt,nertpinx/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,crobinso/libvirt,andreabolognani/libvirt,eskultety/libvirt,nertpinx/libvirt,olafhering/libvirt,jfehlig/libvirt,andreabolognani/libvirt,libvirt/libvirt,jfehlig/libvirt,olafhering/libvirt,libvirt/libvirt,eskultety/libvirt,jardasgit/libvirt,jardasgit/libvirt,eskultety/libvirt,crobinso/libvirt,olafhering/libvirt