aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-api-dbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afb-api-dbus.c')
-rw-r--r--src/afb-api-dbus.c4
1 files changed, 2 insertions, 2 deletions
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);
}