[libvirt] [PATCH] Set to NULL members that have been freed to prevent crashes