X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-hreq.c;h=dc02e6feabca0e77ee32635f140123f85f24941a;hb=c65113c390a5337924729e21f74f45df8c109291;hp=9c6309123fd891d33f38b64e0b7bff69ae49d685;hpb=ba58e7ffa5c36300d09165253c58f25add228273;p=src%2Fapp-framework-binder.git diff --git a/src/afb-hreq.c b/src/afb-hreq.c index 9c630912..dc02e6fe 100644 --- a/src/afb-hreq.c +++ b/src/afb-hreq.c @@ -330,6 +330,8 @@ void afb_hreq_addref(struct afb_hreq *hreq) void afb_hreq_unref(struct afb_hreq *hreq) { + if (hreq->replied) + hreq->xreq.replied = 1; afb_xreq_unref(&hreq->xreq); }