[libvirt PATCH] tools: use g_autofree more