summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 38e741e30b..e37c20902e 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -767,7 +767,7 @@ int router_dump_router_to_string(char *s, int maxlen, routerinfo_t *router,
s);
return -1;
}
- free(s_dup);
+ tor_free(s_dup);
routerinfo_free(ri_tmp);
#endif