Fix possible memory leak in util/virxml.c
Fix possible memory leak in util/virxml.c

A "xmlstr" string may not be assigned into a "doc" pointer and it
could cause memory leak. To fix it if the "doc" pointer is NULL and
the "xmlstr" string is not assigned we should free it.

This has been found by coverity.

Signed-off-by: Pavel Hrdina <d4772d05997b8abf035041e3b4f4996380ea7e7a@redhat.com>

eskultety/libvirt,agx/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,crobinso/libvirt,nertpinx/libvirt,taget/libvirt,libvirt/libvirt,jardasgit/libvirt,zippy2/libvirt,jardasgit/libvirt,nertpinx/libvirt,crobinso/libvirt,libvirt/libvirt,libvirt/libvirt,elmarco/libvirt,jfehlig/libvirt,eskultety/libvirt,nertpinx/libvirt,VenkatDatta/libvirt,taget/libvirt,jfehlig/libvirt,zippy2/libvirt,fabianfreyer/libvirt,shugaoye/libvirt,elmarco/libvirt,fabianfreyer/libvirt,shugaoye/libvirt,fabianfreyer/libvirt,olafhering/libvirt,eskultety/libvirt,nertpinx/libvirt,datto/libvirt,andreabolognani/libvirt,rlaager/libvirt,nertpinx/libvirt,elmarco/libvirt,rlaager/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,agx/libvirt,olafhering/libvirt,elmarco/libvirt,andreabolognani/libvirt,agx/libvirt,rlaager/libvirt,crobinso/libvirt,datto/libvirt,eskultety/libvirt,VenkatDatta/libvirt,jardasgit/libvirt,rlaager/libvirt,datto/libvirt,taget/libvirt,jfehlig/libvirt,VenkatDatta/libvirt,olafhering/libvirt,andreabolognani/libvirt,taget/libvirt,taget/libvirt,datto/libvirt,zippy2/libvirt,shugaoye/libvirt,andreabolognani/libvirt,agx/libvirt,VenkatDatta/libvirt,shugaoye/libvirt,shugaoye/libvirt,zippy2/libvirt,olafhering/libvirt,datto/libvirt,elmarco/libvirt,crobinso/libvirt,rlaager/libvirt,VenkatDatta/libvirt,agx/libvirt,libvirt/libvirt,eskultety/libvirt,jardasgit/libvirt,jardasgit/libvirt