summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/routerlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 8363bf219f..f41a8019d4 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -358,6 +358,7 @@ router_reload_router_list(void)
stat(fname, &st);
router_load_routers_from_string(contents,
SAVED_IN_JOURNAL, NULL);
+ tor_free(contents);
}
tor_free(fname);