diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/or/routerkeys.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/routerkeys.c b/src/or/routerkeys.c index 1120578c28..f7c65c21b5 100644 --- a/src/or/routerkeys.c +++ b/src/or/routerkeys.c @@ -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) { |