Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
afb-xreq: hide internal addref/unref to xreqs
[src/app-framework-binder.git]
/
src
/
afb-api-dbus.c
diff --git
a/src/afb-api-dbus.c
b/src/afb-api-dbus.c
index
3884b60
..
2d03269
100644
(file)
--- 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) {
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;
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;
}
prv = &(*prv)->next;
}
- afb_xreq_unref(memo->xreq);
+ afb_xreq_un
hooked_un
ref(memo->xreq);
free(memo);
}
free(memo);
}