commit 41b0ea396dcb7fa548f454419426027b5afc9da3
parent 58248adab617eb240d6d8accd7620a1cabc1a1ff
Author: Nick Mathewson <nickm@torproject.org>
Date: Wed, 7 May 2025 16:33:45 -0400
Use conflux_relay_msg_free to free a conflux_msg_t
Fixes bug #41069; but not in any released Tor.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/core/or/conflux_pool.c b/src/core/or/conflux_pool.c
@@ -196,7 +196,8 @@ conflux_free_(conflux_t *cfx)
} SMARTLIST_FOREACH_END(leg);
smartlist_free(cfx->legs);
- SMARTLIST_FOREACH(cfx->ooo_q, conflux_msg_t *, cell, tor_free(cell));
+ SMARTLIST_FOREACH(cfx->ooo_q, conflux_msg_t *, cell,
+ conflux_relay_msg_free(cell));
smartlist_free(cfx->ooo_q);
memwipe(cfx->nonce, 0, sizeof(cfx->nonce));