mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Fix a leak
svn:r2183
This commit is contained in:
parent
f6cc218742
commit
b0c9ba99f8
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user