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

Convince coverity that we do not have a particular memory leak

parent 8b981725
No related branches found
No related tags found
No related merge requests found
......@@ -313,6 +313,7 @@ ed_key_init_from_file(const char *fname, uint32_t flags,
if (r > 0) {
have_secret = 1;
have_encrypted_secret_file = 1;
tor_free(got_tag); /* convince coverity we aren't leaking */
got_tag = tor_strdup(tag);
loaded_secret_fname = encrypted_secret_fname;
} else if (errno != ENOENT && norepair) {
......
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