21 September 2020: Wouter
- Merge PR #311 by luismerino: Dynlibmod leak.
+ - Error message is logged for dynlibmod malloc failures.
18 September 2020: Wouter
- Fix that prefer-ip4 and prefer-ip6 can be get and set with
inplace_cb_register_wrapped(void* cb, enum inplace_cb_list_type type, void* cbarg,
struct module_env* env, int id) {
struct cb_pair* cb_pair = malloc(sizeof(struct cb_pair));
- if(cb_pair == NULL)
+ if(cb_pair == NULL) {
+ log_err("dynlibmod[%d]: malloc failure", id);
return 0;
+ }
cb_pair->cb = cb;
cb_pair->cb_arg = cbarg;
if(type >= inplace_cb_reply && type <= inplace_cb_reply_servfail) {