diff options
author | Andrea Shepard <andrea@torproject.org> | 2012-10-15 13:04:55 -0700 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2012-10-15 13:04:55 -0700 |
commit | 94a030990986e6c731141da3969aeae3ec0f5ea8 (patch) | |
tree | e1bcadd9973653a26fe79a547c109115ea6094e6 /src/or/channel.c | |
parent | 7e4c91e8808a1ca4b80b02661bd873e2ee636f67 (diff) | |
parent | ac227cf587c17fb2bdd10de4b320ea4df3632cd8 (diff) | |
download | tor-94a030990986e6c731141da3969aeae3ec0f5ea8.tar.gz tor-94a030990986e6c731141da3969aeae3ec0f5ea8.zip |
Merge branch 'bug7087_2' of ssh://git-rw.torproject.org/user/andrea/tor
Diffstat (limited to 'src/or/channel.c')
-rw-r--r-- | src/or/channel.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/or/channel.c b/src/or/channel.c index d0e36cd282..49ce129585 100644 --- a/src/or/channel.c +++ b/src/or/channel.c @@ -848,6 +848,11 @@ channel_listener_free(channel_listener_t *chan_l) { if (!chan_l) return; + log_debug(LD_CHANNEL, + "Freeing channel_listener_t " U64_FORMAT " at %p", + U64_PRINTF_ARG(chan_l->global_identifier), + chan_l); + /* It must be closed or errored */ tor_assert(chan_l->state == CHANNEL_LISTENER_STATE_CLOSED || chan_l->state == CHANNEL_LISTENER_STATE_ERROR); @@ -935,6 +940,11 @@ channel_listener_force_free(channel_listener_t *chan_l) { tor_assert(chan_l); + log_debug(LD_CHANNEL, + "Force-freeing channel_listener_t " U64_FORMAT " at %p", + U64_PRINTF_ARG(chan_l->global_identifier), + chan_l); + /* Call a free method if there is one */ if (chan_l->free) chan_l->free(chan_l); |