Curl_lwt: fix memory leak