aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-09-01 10:45:34 -0400
committerNick Mathewson <nickm@torproject.org>2011-09-01 10:45:34 -0400
commit9f144144e383169ba6a0de78fde50c0d1f662116 (patch)
treee22254bad935cf6d829627c54fc6441f31c0e4b5 /src
parentcfa9ee5fe708539965f46a31b5d2abe4950179af (diff)
parentab9874dba46b3eae8e201a45926ddeb133903ebc (diff)
downloadtor-9f144144e383169ba6a0de78fde50c0d1f662116.tar
tor-9f144144e383169ba6a0de78fde50c0d1f662116.tar.gz
Merge branch 'bug3888'
Diffstat (limited to 'src')
-rw-r--r--src/or/connection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 761595238..1b227d7e7 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -524,6 +524,7 @@ _connection_free(connection_t *conn)
#ifdef USE_BUFFEREVENTS
if (conn->type == CONN_TYPE_OR && TO_OR_CONN(conn)->bucket_cfg) {
ev_token_bucket_cfg_free(TO_OR_CONN(conn)->bucket_cfg);
+ TO_OR_CONN(conn)->bucket_cfg = NULL;
}
#endif