Skip to content
Snippets Groups Projects
Commit fcc01d7c authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Fix a memory leak in routerkeys.c

parent d31877c6
No related branches found
No related tags found
No related merge requests found
......@@ -134,6 +134,7 @@ ed_key_init_from_file(const char *fname, uint32_t flags,
goto done;
/* Read a cert. */
tor_free(got_tag);
uint8_t certbuf[256];
ssize_t cert_body_len = crypto_read_tagged_contents_from_file(
cert_fname, "ed25519v1-cert",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment