Browse Source

Fix a leak

svn:r2183
Nick Mathewson 21 years ago
parent
commit
b0c9ba99f8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/or/router.c

+ 1 - 0
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 */