Fix a bunch of obvious memory leaks at termination

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This commit is contained in:
Steffen Jaeckel
2024-11-27 13:10:17 +01:00
parent 06f5c2670e
commit 2696989ce5
17 changed files with 48 additions and 7 deletions

View File

@@ -167,6 +167,8 @@ void
connection_shutdown(void)
{
connection_clear_data();
g_hash_table_destroy(conn.requested_features);
g_hash_table_destroy(conn.available_resources);
if (conn.xmpp_conn) {
xmpp_conn_release(conn.xmpp_conn);
conn.xmpp_conn = NULL;