X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-dbus.c;h=2d03269f95ef4312df104f2f40a08f653481a593;hb=770ca7e254bba07bb7d1ade4fa95afed7a7f7693;hp=3884b60f0be719e0362d47437f18a3b9052b64d6;hpb=dd4c9c11ba5e1f9068ddd20e06db6dca067f01b9;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-dbus.c b/src/afb-api-dbus.c index 3884b60f..2d03269f 100644 --- a/src/afb-api-dbus.c +++ b/src/afb-api-dbus.c @@ -238,7 +238,7 @@ static struct dbus_memo *api_dbus_client_memo_make(struct api_dbus *api, struct 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; @@ -262,7 +262,7 @@ static void api_dbus_client_memo_destroy(struct dbus_memo *memo) prv = &(*prv)->next; } - afb_xreq_unref(memo->xreq); + afb_xreq_unhooked_unref(memo->xreq); free(memo); }