[libvirt] [PATCH] Fix the incorrect memory freeing which will result in crash