From: Nick Mathewson Date: Sat, 7 Aug 2004 02:59:46 +0000 (+0000) Subject: Fix a leak X-Git-Tag: tor-0.0.8pre3~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b0c9ba99f8ed70252b477b9edce98b94c7fc1da5;p=thirdparty%2Ftor.git Fix a leak svn:r2183 --- 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 */