[Libvirt-cim] [PATCH] Fix possible memory leaks