summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/or/directory.c2
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,