mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Free global_rate_limit in connection_free_all().
This commit is contained in:
@@ -4161,4 +4161,9 @@ connection_free_all(void)
|
||||
smartlist_free(outgoing_addrs);
|
||||
outgoing_addrs = NULL;
|
||||
}
|
||||
|
||||
#ifdef USE_BUFFEREVENTS
|
||||
if (global_rate_limit)
|
||||
bufferevent_rate_limit_group_free(global_rate_limit);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user