diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-10-11 10:29:25 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-10-11 10:29:25 +0000 |
commit | 85174ed358307a611dfa796315ab3485b2a38c3d (patch) | |
tree | 60a67261a8dc222d71496d4944a16d4e9cfeec83 /lib/http.c | |
parent | 111d1d09d3f9e6cea3ec89fadc028dd75b8a7b98 (diff) |
memory leak adjusts
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c index 6c247792c..551fac339 100644 --- a/lib/http.c +++ b/lib/http.c @@ -254,7 +254,8 @@ CURLcode http_done(struct connectdata *conn) *bytecount = http->readbytecount + http->writebytecount; } - /* TBD: the HTTP struct remains allocated here */ + free(http); + data->proto.http=NULL; /* it is gone */ return CURLE_OK; } |