test_conf: Resolve Coverity RESOURCE_LEAK
test_conf: Resolve Coverity RESOURCE_LEAK

If the condition 'ret < 0' is true, the code will jump to
'cleanup' and 'conf' won't be freed.

Signed-off-by: Wang Rui <efd73d5b5867bcfd66553912fa090c7d92d260b7@huawei.com>

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