improve error handling

Set errno for functions returning NULL if relevant.
Propagate errno and result codes better.
Handle more error cases.
This commit is contained in:
Wim Taymans 2019-06-07 10:11:23 +02:00
parent 0a5bce4a3b
commit 504d78cd18
26 changed files with 359 additions and 148 deletions

View file

@ -522,7 +522,6 @@ static int module_init(struct pw_module *module, struct pw_properties *propertie
error:
free(impl);
return res;
}
SPA_EXPORT