memo = malloc(sizeof *memo);
if (memo != NULL) {
- afb_xreq_addref(xreq);
+ afb_xreq_unhooked_addref(xreq);
memo->xreq = xreq;
memo->msgid = 0;
memo->api = api;
prv = &(*prv)->next;
}
- afb_xreq_unref(memo->xreq);
+ afb_xreq_unhooked_unref(memo->xreq);
free(memo);
}
/* record it as an API */
afb_api.closure = api;
afb_api.itf = &dbus_api_itf;
- afb_api.noconcurrency = 0;
+ afb_api.group = NULL;
if (afb_apiset_add(apiset, api->api, afb_api) < 0)
goto error2;