mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
resolve tequila's crash bug: you can't free something
and then keep using it. svn:r3117
This commit is contained in:
parent
ad4f440e10
commit
ca95ed74ac
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user