From a444b11323799536b4cd7902e29f711b0806293a Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sun, 13 Sep 2015 14:44:46 -0400 Subject: Convince coverity that we do not have a particular memory leak --- src/or/routerkeys.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/or/routerkeys.c') 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) { -- cgit v1.2.3-54-g00ecf