[libvirt] [PATCH 2/2] remote: Fix possible use-after-free when sending event message