X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-hreq.c;h=b87251be57bfd276834374e95c3e8911cba1ab92;hb=524ce4c40da3b25630dffdd80c5aca99364a3569;hp=fe5af73acb4bbe791f878f96198496cafef561de;hpb=a8e971702f23ee67e02b4716ad4159f12cefdca6;p=src%2Fapp-framework-binder.git diff --git a/src/afb-hreq.c b/src/afb-hreq.c index fe5af73a..b87251be 100644 --- a/src/afb-hreq.c +++ b/src/afb-hreq.c @@ -37,8 +37,8 @@ #include "afb-msg-json.h" #include "afb-context.h" #include "afb-hreq.h" -#include "afb-subcall.h" #include "afb-session.h" +#include "afb-cred.h" #include "verbose.h" #include "locale-root.h" @@ -319,6 +319,7 @@ static void req_destroy(struct afb_xreq *xreq) json_object_put(hreq->json); free((char*)hreq->xreq.api); free((char*)hreq->xreq.verb); + afb_cred_unref(hreq->xreq.cred); free(hreq); }