diff options
author | Roger Dingledine <arma@torproject.org> | 2004-12-07 21:57:37 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-12-07 21:57:37 +0000 |
commit | ca95ed74ac2d7b2465b9353517db7ed66d0e72e9 (patch) | |
tree | a11bf7b15b495c6c00428ebd356356ec69998337 | |
parent | ad4f440e108d4a48dea145908c826c5e76f3f8cc (diff) | |
download | tor-ca95ed74ac2d7b2465b9353517db7ed66d0e72e9.tar.gz tor-ca95ed74ac2d7b2465b9353517db7ed66d0e72e9.zip |
resolve tequila's crash bug: you can't free something
and then keep using it.
svn:r3117
-rw-r--r-- | src/or/connection_edge.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 53e7b68c81..bc770aca00 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -825,6 +825,7 @@ int connection_exit_begin_conn(cell_t *cell, circuit_t *circ) { if (we_are_hibernating()) { connection_edge_end(n_stream, END_STREAM_REASON_EXITPOLICY, n_stream->cpath_layer); connection_free(n_stream); + return 0; } /* send it off to the gethostbyname farm */ |