Fix a brazen memleak in consdiffmgr_add_consensus()

This commit is contained in:
Nick Mathewson 2017-04-28 15:41:52 -04:00
parent dcc0a49a84
commit b8f7488e94

View File

@ -486,6 +486,7 @@ consdiffmgr_add_consensus(const char *consensus,
labels, labels,
(const uint8_t *)body_compressed, (const uint8_t *)body_compressed,
size_compressed); size_compressed);
tor_free(body_compressed);
config_free_lines(labels); config_free_lines(labels);
} }