From b8f7488e94f2cb83bdf83228781a11233d9f0a46 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 28 Apr 2017 15:41:52 -0400 Subject: [PATCH] Fix a brazen memleak in consdiffmgr_add_consensus() --- src/or/consdiffmgr.c | 1 + 1 file changed, 1 insertion(+) 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); }