diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-04-28 15:41:52 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-04-28 15:41:52 -0400 |
commit | b8f7488e94f2cb83bdf83228781a11233d9f0a46 (patch) | |
tree | 84fe323074c68bcfa5ccab09833a1c32104a91f8 | |
parent | dcc0a49a8477a33ba6b90839ae152230f0eac692 (diff) | |
download | tor-b8f7488e94f2cb83bdf83228781a11233d9f0a46.tar.gz tor-b8f7488e94f2cb83bdf83228781a11233d9f0a46.zip |
Fix a brazen memleak in consdiffmgr_add_consensus()
-rw-r--r-- | src/or/consdiffmgr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/consdiffmgr.c b/src/or/consdiffmgr.c index 4329fb2c0e..b134578f51 100644 --- a/src/or/consdiffmgr.c +++ b/src/or/consdiffmgr.c @@ -486,6 +486,7 @@ consdiffmgr_add_consensus(const char *consensus, labels, (const uint8_t *)body_compressed, size_compressed); + tor_free(body_compressed); config_free_lines(labels); } |