fix crash when some external APIs fail
Submitted by Zhouyang
Created attachment 369129 patch of the potential API bugs
I'm a PhD student. I analyzed the empathy source code and found some potential API bugs that may cause crashes.
These crashes are mainly caused by insufficient error handling of API functions like notify_init or pa_context_connect.
I think it's unsafe to assume the library function would be correct. It would be better if we could handle the error properly.
Attached please find the patch against version current development version. Hopefully, it can solve these potential bugs.
Patch 369129, "patch of the potential API bugs":