Commit af9dc9f1 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Gaz Iqbal fixed a range string memory leak!

parent 4874aa69
Loading
Loading
Loading
Loading
+11 −8
Original line number Diff line number Diff line
@@ -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 */

    /*