summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-08-07 02:59:46 +0000
committerNick Mathewson <nickm@torproject.org>2004-08-07 02:59:46 +0000
commitb0c9ba99f8ed70252b477b9edce98b94c7fc1da5 (patch)
treea60d4e27c931573cda3dbf0f277207e0a58353c8
parentf6cc21874243b4d84a2db212e5c66058365bd7e7 (diff)
downloadtor-b0c9ba99f8ed70252b477b9edce98b94c7fc1da5.tar.gz
tor-b0c9ba99f8ed70252b477b9edce98b94c7fc1da5.zip
Fix a leak
svn:r2183
-rw-r--r--src/or/router.c1
1 files changed, 1 insertions, 0 deletions
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 */