project-spiel / libspiel

Speech synthesis client library
https://project-spiel.org/libspiel
GNU Lesser General Public License v2.1
39 stars 4 forks source link

ASAN and scan-build fixes #46

Closed andyholmes closed 6 months ago

andyholmes commented 6 months ago

I went with g_return_if_fail() variants for both, since it seems like a case for a critical-level message.

The message would be something like assertion failed: entry != NULL, but I think that's okay since this is pretty internal.