mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
Convince coverity that we do not have a particular memory leak
This commit is contained in:
parent
8b98172579
commit
a444b11323
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user