* src/http.c (http_cleanup): Call invalidate_persistent to free resources

This commit is contained in:
Tim Rühsen 2020-02-27 14:28:10 +01:00
parent b3dc802efb
commit 7146b9dc77

View File

@ -5341,7 +5341,9 @@ save_cookies (void)
void
http_cleanup (void)
{
xfree (pconn.host);
if (pconn_active)
invalidate_persistent ();
if (wget_cookie_jar)
cookie_jar_delete (wget_cookie_jar);
}