]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix a leak
authorNick Mathewson <nickm@torproject.org>
Sat, 7 Aug 2004 02:59:46 +0000 (02:59 +0000)
committerNick Mathewson <nickm@torproject.org>
Sat, 7 Aug 2004 02:59:46 +0000 (02:59 +0000)
svn:r2183

src/or/router.c

index e5fbaff89253e139a8152d0624364ad668857007..456b5832c138a91d0064ff503102de09403784e7 100644 (file)
@@ -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 */