virNetworkPortDefSaveStatus: Fix potentially uninitialized 'path' by refactoring cleanup
virNetworkPortDefSaveStatus: Fix potentially uninitialized 'path' by refactoring cleanup

Use 'g_autofree' to clean both 'path' and 'xml' which mandates
initialization and get rid of the 'cleanup' label and 'ret variable.

Signed-off-by: Peter Krempa <2cf5c04c61aa466e4a47bfedc747d17279c72ffc@redhat.com>
Reviewed-by: Ján Tomko <4cab11cfb98d3c937327354a78eb07dbb6ee2bc6@redhat.com>

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