summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/routerlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 35ed5aa697..3d5921d0e1 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -1150,7 +1150,7 @@ _router_get_next_token(const char **s, directory_token_t *tok) {
}
tok->val.cmd.n_args = i;
if (i >= MAX_ARGS) {
- /* XXX free args[0..i] */
+ router_release_token(tok);
tok->tp = _ERR;
tok->val.error = "Too many arguments"; return -1;
}