[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Free global_rate_limit in connection_free_all().
commit ec8d0a6d83adec7953839937c7fcbe315284c263
Author: George Kadianakis <desnacked@xxxxxxxxx>
Date: Sat Aug 13 20:37:13 2011 +0200
Free global_rate_limit in connection_free_all().
---
src/or/connection.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/or/connection.c b/src/or/connection.c
index 67e9442..2087ced 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -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
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits