From d0400df13d7d919d3ad89f7f8ebafaee20e44c3d Mon Sep 17 00:00:00 2001 From: Maxim Biro Date: Mon, 4 Dec 2023 20:30:28 -0500 Subject: [PATCH] Fix memory leak in tox-bootstrapd --- other/bootstrap_daemon/src/tox-bootstrapd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/other/bootstrap_daemon/src/tox-bootstrapd.c b/other/bootstrap_daemon/src/tox-bootstrapd.c index ea271b56..5227db78 100644 --- a/other/bootstrap_daemon/src/tox-bootstrapd.c +++ b/other/bootstrap_daemon/src/tox-bootstrapd.c @@ -375,6 +375,7 @@ int main(int argc, char *argv[]) if (!onion) { log_write(LOG_LEVEL_ERROR, "Couldn't initialize Tox Onion. Exiting.\n"); + kill_gca(group_announce); kill_announcements(announce); kill_forwarding(forwarding); kill_dht(dht);