Skip to content
Snippets Groups Projects
Commit 9f144144 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Merge branch 'bug3888'

parents cfa9ee5f ab9874db
Branches
Tags
No related merge requests found
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.
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment