diff --git a/lib/cookie.c b/lib/cookie.c index c061cd4cd7..c457b2d95f 100644 --- a/lib/cookie.c +++ b/lib/cookie.c @@ -1299,7 +1299,7 @@ struct CookieInfo *Curl_cookie_init(struct Curl_easy *data, */ remove_expired(c); - if(fromfile && fp) + if(fromfile) fclose(fp); }