mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
Fix a brazen memleak in consdiffmgr_add_consensus()
This commit is contained in:
parent
dcc0a49a84
commit
b8f7488e94
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user