diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-01-20 12:52:34 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-01-20 12:52:34 +0000 |
commit | 5a83976c996a33283c3aca29de86d77a238429b9 (patch) | |
tree | 0a00ee65223437c65b4b6f5bd9d56d9022d18aa6 /lib/url.c | |
parent | b5276a9a69bd29502b5a8d6711f4c2d94f4c445e (diff) |
Markus F.X.J. Oberhumer's patch that reduces memory usage quite a bit by
only allocating the scratch memory buffer once it is needed and not always
in the handle.
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -190,6 +190,9 @@ CURLcode Curl_close(struct SessionHandle *data) if(data->state.auth_host) free(data->state.auth_host); + if(data->state.scratch) + free(data->state.scratch); + if(data->change.proxy_alloc) free(data->change.proxy); |