diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-12-28 22:44:45 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-12-28 22:45:53 -0500 |
commit | b509ead20d93277697c1cb961a2ae520bce7fd7f (patch) | |
tree | 84aa8676631ce75314f4d1ae427f37b50ae1c469 /src/or/connection.c | |
parent | 4b571d3ab3d4c8e13fe0bc73f15431294d19615a (diff) | |
download | tor-b509ead20d93277697c1cb961a2ae520bce7fd7f.tar.gz tor-b509ead20d93277697c1cb961a2ae520bce7fd7f.zip |
Avoid leaking headers received from SSL proxy
Fixes part of 7816. Spotted by coverity. Fix on 0.2.2.1-alpha.
Diffstat (limited to 'src/or/connection.c')
-rw-r--r-- | src/or/connection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index eac9c4f32b..4c6826269d 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -1607,6 +1607,7 @@ connection_read_https_proxy_response(connection_t *conn) tor_free(headers); return -1; } + tor_free(headers); if (!reason) reason = tor_strdup("[no reason given]"); if (status_code == 200) { |