[libvirt] [PATCH] Properly free the xmlDocPtr when loading pool state