Add Valgrind to CI

* Also pass `$*` to `configure` when invoking `ci-build.sh`, so one can
  e.g. run `./ci-build.sh --without-xscreensaver`

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This commit is contained in:
Steffen Jaeckel
2025-03-07 20:38:18 +01:00
parent c0da36c48d
commit 9fc0326428
19 changed files with 319 additions and 41 deletions

View File

@@ -89,7 +89,7 @@ void
chat_sessions_clear(void)
{
if (sessions) {
g_hash_table_remove_all(sessions);
g_hash_table_destroy(sessions);
sessions = NULL;
}
}

View File

@@ -94,14 +94,14 @@ static void _occupant_free(Occupant* occupant);
static void
_muc_close(void)
{
autocomplete_free(invite_ac);
autocomplete_free(confservers_ac);
g_hash_table_destroy(rooms);
g_hash_table_destroy(invite_passwords);
rooms = NULL;
invite_passwords = NULL;
invite_ac = NULL;
g_hash_table_destroy(rooms);
rooms = NULL;
autocomplete_free(confservers_ac);
confservers_ac = NULL;
autocomplete_free(invite_ac);
invite_ac = NULL;
}
void