Merge branch 'bug3888'

This commit is contained in:
Nick Mathewson
2011-09-01 10:45:34 -04:00
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
o Minor bugfixes (bufferevents, fix on 0.2.3.1-alpha):
- Fix a use-after-free error with per-connection rate-limiting
buckets. Fixes bug 3888.
+1
View File
@@ -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