diff options
Diffstat (limited to 'lib/share.c')
-rw-r--r-- | lib/share.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/share.c b/lib/share.c index b8b6bee80..3fc53119e 100644 --- a/lib/share.c +++ b/lib/share.c @@ -198,8 +198,7 @@ curl_share_cleanup(CURLSH *sh) } #if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_COOKIES) - if(share->cookies) - Curl_cookie_cleanup(share->cookies); + Curl_cookie_cleanup(share->cookies); #endif #ifdef USE_SSL |