From b0c9ba99f8ed70252b477b9edce98b94c7fc1da5 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 --- src/or/router.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/or/router.c b/src/or/router.c index e5fbaff892..456b5832c1 100644 --- a/src/or/router.c +++ b/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 */ -- 2.47.3