[libvirt] [PATCH] stream: avoid use-after-free