aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 277178f63..b0bca530a 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -302,12 +302,13 @@ int check_software_version_against_directory(const char *directory,
return -1;
} else {
fflush(0);
+ tor_cleanup();
exit(0);
return -1; /* never reached */
}
}
-/** Parse a directory from <b>s</b> and, when done, store the
+/** Parse a directory from <b>str</b> and, when done, store the
* resulting routerlist in *<b>dest</b>, freeing the old value if necessary.
* If <b>pkey</b> is provided, we check the directory signature with pkey.
*/