[libvirt] [PATCH] plug two leaks