diff options
author | Roger Dingledine <arma@torproject.org> | 2007-10-12 09:09:46 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-10-12 09:09:46 +0000 |
commit | b60e1385861bc2527451dee0fd5f4f5f544cafff (patch) | |
tree | f8c3cc077b3113a911a6bffc7f09dc723e773f08 /src | |
parent | 3977ccbc804fdeab5f6f8d680aeec7d038bf9cbb (diff) | |
download | tor-b60e1385861bc2527451dee0fd5f4f5f544cafff.tar.gz tor-b60e1385861bc2527451dee0fd5f4f5f544cafff.zip |
fix two instances of double-frees. may fix bug 527.
svn:r11893
Diffstat (limited to 'src')
-rw-r--r-- | src/or/directory.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index e601a1ca36..224b25dfb1 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -2359,12 +2359,10 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers, smartlist_free(fps); } else { write_http_status_line(conn, 400, "Bad request"); - smartlist_free(certs); goto keys_done; } if (!smartlist_len(certs)) { write_http_status_line(conn, 404, "Not found"); - smartlist_free(certs); goto keys_done; } SMARTLIST_FOREACH(certs, authority_cert_t *, c, |