diff options
Diffstat (limited to 'lib/pingpong.c')
-rw-r--r-- | lib/pingpong.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/pingpong.c b/lib/pingpong.c index 20c58f457..167079272 100644 --- a/lib/pingpong.c +++ b/lib/pingpong.c @@ -493,10 +493,8 @@ CURLcode Curl_pp_flushsend(struct pingpong *pp) CURLcode Curl_pp_disconnect(struct pingpong *pp) { - if(pp->cache) { - free(pp->cache); - pp->cache = NULL; - } + free(pp->cache); + pp->cache = NULL; return CURLE_OK; } |