uml: Plug memory leak on umlStartVMDaemon() error path
uml: Plug memory leak on umlStartVMDaemon() error path

Detected by Coverity.  Leak introduced in commit 8866eed.

Two bugs here:
1. logfd wasn't closed on all return paths
2. if we failed to mark a domain autodestroy, then the domain
was not made transient but we still returned success

Signed-off-by: Alex Jia <e236faec8cb8371bfb245ba3769a84afc9a11438@redhat.com>
Signed-off-by: Eric Blake <a9da18479c871fe903d9590822cfe2629c6a4d11@redhat.com>

trainstack/libvirt,taget/libvirt,danwent/libvirt-ovs,andreabolognani/libvirt,foomango/libvirt,rmarwaha/libvirt,rmarwaha/libvirt,emaste/libvirt,rmarwaha/libvirt1,cbosdo/libvirt,eskultety/libvirt,dumbbell/libvirt,dumbbell/libvirt,foomango/libvirt,novel/fbsd-libvirt,zippy2/libvirt,danwent/libvirt-ovs,novel/fbsd-libvirt,zhlcindy/libvirt-1.1.4-maintain,iam-TJ/libvirt,rlaager/libvirt,cbosdo/libvirt,trainstack/libvirt,dumbbell/libvirt,taget/libvirt,jfehlig/libvirt,taget/libvirt,elmarco/libvirt,warewolf/libvirt,warewolf/libvirt,jeckersb/libvirt,emaste/libvirt,elmarco/libvirt,rlaager/libvirt,siboulet/libvirt-openvz,jardasgit/libvirt,iam-TJ/libvirt,agx/libvirt,rmarwaha/libvirt,jardasgit/libvirt,emaste/libvirt,olafhering/libvirt,danwent/libvirt-ovs,jfehlig/libvirt,siboulet/libvirt-openvz,VenkatDatta/libvirt,rmarwaha/libvirt1,libvirt/libvirt,nertpinx/libvirt,zippy2/libvirt,novel/fbsd-libvirt,rlaager/libvirt,wiedi/libvirt,dumbbell/libvirt,eskultety/libvirt,VenkatDatta/libvirt,iam-TJ/libvirt,warewolf/libvirt,agx/libvirt,taget/libvirt,foomango/libvirt,danwent/libvirt-ovs,trainstack/libvirt,fabianfreyer/libvirt,jeckersb/libvirt,siboulet/libvirt-openvz,shugaoye/libvirt,bjzhang/libvirt,wiedi/libvirt,trainstack/libvirt,nertpinx/libvirt,jfehlig/libvirt,warewolf/libvirt,trainstack/libvirt,cbosdo/libvirt,novel/fbsd-libvirt,datto/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,emaste/libvirt,zhlcindy/libvirt-1.1.4-maintain,jardasgit/libvirt,crobinso/libvirt,fabianfreyer/libvirt,libvirt/libvirt,datto/libvirt,datto/libvirt,emaste/libvirt,taget/libvirt,dumbbell/libvirt,olafhering/libvirt,wiedi/libvirt,fabianfreyer/libvirt,iam-TJ/libvirt,warewolf/libvirt,warewolf/libvirt,rlaager/libvirt,wiedi/libvirt,zippy2/libvirt,danwent/libvirt-ovs,VenkatDatta/libvirt,shugaoye/libvirt,dumbbell/libvirt,eskultety/libvirt,iam-TJ/libvirt,wiedi/libvirt,jeckersb/libvirt,jeckersb/libvirt,shugaoye/libvirt,rmarwaha/libvirt,wiedi/libvirt,iam-TJ/libvirt,datto/libvirt,libvirt/libvirt,zhlcindy/libvirt-1.1.4-maintain,fabianfreyer/libvirt,jeckersb/libvirt,eskultety/libvirt,andreabolognani/libvirt,crobinso/libvirt,shugaoye/libvirt,emaste/libvirt,olafhering/libvirt,rmarwaha/libvirt,andreabolognani/libvirt,andreabolognani/libvirt,bjzhang/libvirt,crobinso/libvirt,bjzhang/libvirt,elmarco/libvirt,warewolf/libvirt,novel/fbsd-libvirt,nertpinx/libvirt,rmarwaha/libvirt,crobinso/libvirt,jfehlig/libvirt,rmarwaha/libvirt1,novel/fbsd-libvirt,shugaoye/libvirt,rlaager/libvirt,zippy2/libvirt,foomango/libvirt,foomango/libvirt,novel/fbsd-libvirt,jardasgit/libvirt,VenkatDatta/libvirt,trainstack/libvirt,siboulet/libvirt-openvz,agx/libvirt,jeckersb/libvirt,trainstack/libvirt,eskultety/libvirt,wiedi/libvirt,cbosdo/libvirt,olafhering/libvirt,cbosdo/libvirt,iam-TJ/libvirt,nertpinx/libvirt,emaste/libvirt,bjzhang/libvirt,novel/fbsd-libvirt,agx/libvirt,bjzhang/libvirt,rmarwaha/libvirt1,elmarco/libvirt,rmarwaha/libvirt1,novel/fbsd-libvirt,siboulet/libvirt-openvz,libvirt/libvirt,jeckersb/libvirt,agx/libvirt,nertpinx/libvirt,elmarco/libvirt,VenkatDatta/libvirt,andreabolognani/libvirt,zhlcindy/libvirt-1.1.4-maintain,rmarwaha/libvirt1,datto/libvirt,zhlcindy/libvirt-1.1.4-maintain