Files
profanity/tests
Jabber Developer 360c5fb0a9 tests(ai_client): remove redundant ai_provider_unref() before ai_client_shutdown()
The tests called ai_provider_unref(provider) on providers owned by the
hash table, then called ai_client_shutdown() which destroys the hash
table and calls ai_provider_unref() again on the same dangling pointer.
This caused Invalid read of size 4 at ai_client.c:302.

Fix by removing the redundant unref calls - ai_client_shutdown() cleans
up all providers in the hash table automatically.
2026-05-15 01:50:08 +00:00
..
2025-09-10 14:11:03 +02:00