Gaz Iqbal fixed a range string memory leak!

This commit is contained in:
Daniel Stenberg 2003-11-24 07:10:02 +00:00
parent 4874aa6986
commit af9dc9f128
1 changed files with 10 additions and 7 deletions

View File

@ -2852,6 +2852,9 @@ static CURLcode CreateConnection(struct SessionHandle *data,
Curl_safefree(old_conn->proxyuser);
Curl_safefree(old_conn->proxypasswd);
if(old_conn->bits.rangestringalloc)
free(old_conn->range);
free(old_conn); /* we don't need this anymore */
/*