[libvirt] [PATCH] Fix memory leak while scanning snapshots