[tor/master] Fix a memory leak in routerkeys.c

1 Jun
2015
1 Jun
'15
2:45 p.m.
commit fcc01d7cafef86dd3ef449e474b0ff7ca45cac85 Author: Nick Mathewson <nickm@torproject.org> Date: Mon Jun 1 10:45:51 2015 -0400 Fix a memory leak in routerkeys.c --- src/or/routerkeys.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/or/routerkeys.c b/src/or/routerkeys.c index 8b1ade5..b17d195 100644 --- a/src/or/routerkeys.c +++ b/src/or/routerkeys.c @@ -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",
3660
Age (days ago)
3660
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org