diff --git a/lib/multi.c b/lib/multi.c index dc7776cde..398be37a9 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -329,6 +329,7 @@ struct Curl_multi *Curl_multi_handle(int hashsize, /* socket hash */ multi->conn_cache = NULL; Curl_close(multi->closure_handle); multi->closure_handle = NULL; + Curl_llist_destroy(multi->msglist, NULL); free(multi); return NULL;