diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-01-30 20:38:08 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-01-30 20:38:08 +0000 |
commit | 6c3f55526a3d469c21dca8e9a7b8b512855174b1 (patch) | |
tree | a4893ddd708767a20ca61f49d5a31fc511b2d475 /src | |
parent | 7651b09c8a3c1b2dd1ff94b93b8f2ecbbe953222 (diff) | |
download | tor-6c3f55526a3d469c21dca8e9a7b8b512855174b1.tar.gz tor-6c3f55526a3d469c21dca8e9a7b8b512855174b1.zip |
Fix possible (but unlikely) mem leak.
svn:r1025
Diffstat (limited to 'src')
-rw-r--r-- | src/or/routerlist.c | 2 |
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; } |