mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 17:46:21 +00:00
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.