diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-08-07 02:59:46 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-08-07 02:59:46 +0000 |
commit | b0c9ba99f8ed70252b477b9edce98b94c7fc1da5 (patch) | |
tree | a60d4e27c931573cda3dbf0f277207e0a58353c8 | |
parent | f6cc21874243b4d84a2db212e5c66058365bd7e7 (diff) | |
download | tor-b0c9ba99f8ed70252b477b9edce98b94c7fc1da5.tar.gz tor-b0c9ba99f8ed70252b477b9edce98b94c7fc1da5.zip |
Fix a leak
svn:r2183
-rw-r--r-- | src/or/router.c | 1 |
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 */ |