From 2c8ef37a043ded7e336cef090e3e20dce8b4a22f Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sat, 7 Aug 2004 02:59:46 +0000 Subject: [PATCH] Fix a leak svn:r2183 --- trunk/src/or/router.c | 1 + 1 file changed, 1 insertion(+) diff --git a/trunk/src/or/router.c b/trunk/src/or/router.c index e5fbaff892..456b5832c1 100644 --- a/trunk/src/or/router.c +++ b/trunk/src/or/router.c @@ -651,6 +651,7 @@ int router_dump_router_to_string(char *s, int maxlen, routerinfo_t *router, tor_free(onion_pkey); tor_free(identity_pkey); + tor_free(bandwidth_usage); if(result < 0 || result >= maxlen) { /* apparently different glibcs do different things on snprintf error.. so check both */