X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-hreq.c;h=fa16565ab677bccab1c6718cd8beab89b651fb6b;hb=7bf0d9c6f807ffae6d9871c606afeccb9b478d3d;hp=e5dcf6427488a420fa57b35b08fafc4a9faf7f07;hpb=4521c1e7ae5371ab9d639adc617d17fb4e8ded0c;p=src%2Fapp-framework-binder.git diff --git a/src/afb-hreq.c b/src/afb-hreq.c index e5dcf642..fa16565a 100644 --- a/src/afb-hreq.c +++ b/src/afb-hreq.c @@ -318,6 +318,9 @@ static void req_destroy(struct afb_xreq *xreq) if (hreq->postform != NULL) MHD_destroy_post_processor(hreq->postform); + if (hreq->tokener != NULL) + json_tokener_free(hreq->tokener); + for (data = hreq->data; data; data = hreq->data) { hreq->data = data->next; if (data->path) {