Free global_rate_limit in connection_free_all().

This commit is contained in:
George Kadianakis 2011-08-13 20:37:13 +02:00
parent a5fd07d178
commit ec8d0a6d83

View File

@ -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
}