summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-05-28 12:52:34 -0400
committerNick Mathewson <nickm@torproject.org>2015-05-28 12:52:34 -0400
commit2c32b2848a607978cf1722fd28a4cfe35a9cfe1c (patch)
tree3d94153219dd027bf50ce0b6a21af22ee6a95f31 /src
parent5f15b0e1e25dac6143a0a3f4398d03524ec15c46 (diff)
downloadtor-2c32b2848a607978cf1722fd28a4cfe35a9cfe1c.tar.gz
tor-2c32b2848a607978cf1722fd28a4cfe35a9cfe1c.zip
Small leak in ed_key_init_from_file. CID 1301373
Diffstat (limited to 'src')
-rw-r--r--src/or/routerkeys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/routerkeys.c b/src/or/routerkeys.c
index 59169cded7..91de4db5c2 100644
--- a/src/or/routerkeys.c
+++ b/src/or/routerkeys.c
@@ -216,6 +216,7 @@ ed_key_init_from_file(const char *fname, uint32_t flags,
tor_free(secret_fname);
tor_free(public_fname);
tor_free(cert_fname);
+ tor_free(got_tag);
return keypair;
}