diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-11-08 23:01:39 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-11-08 23:01:39 -0500 |
commit | 713736a6a738aa371176241e11e2f7e06f63523b (patch) | |
tree | 7e1b23955c2acfee569736314015f23164eca1a5 /src/or/channeltls.c | |
parent | 8b5d95db0df18bca6e608e95248340cf7f67b673 (diff) | |
download | tor-713736a6a738aa371176241e11e2f7e06f63523b.tar.gz tor-713736a6a738aa371176241e11e2f7e06f63523b.zip |
Fix a memory leak in handling errors on CERTS cells. bug 7422
Diffstat (limited to 'src/or/channeltls.c')
-rw-r--r-- | src/or/channeltls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/channeltls.c b/src/or/channeltls.c index d094d15af0..ede245894e 100644 --- a/src/or/channeltls.c +++ b/src/or/channeltls.c @@ -1522,7 +1522,7 @@ channel_tls_process_certs_cell(var_cell_t *cell, channel_tls_t *chan) safe_str(chan->conn->base_.address), \ chan->conn->base_.port, (s)); \ connection_or_close_for_error(chan->conn, 0); \ - return; \ + goto err; \ } while (0) if (chan->conn->base_.state != OR_CONN_STATE_OR_HANDSHAKING_V3) |