X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-stub-ws.c;h=c7b4b2ecf736d242e3ce7465cd85f69d6d8a72ee;hb=090379fdaf6ed1860dcff21424135ad71ead0cd2;hp=8298fc7bdd9ca022b7cccb4f60107774137d37ac;hpb=ce8d87d91aa710702b02a371278f4e1f39ea195c;p=src%2Fapp-framework-binder.git diff --git a/src/afb-stub-ws.c b/src/afb-stub-ws.c index 8298fc7b..c7b4b2ec 100644 --- a/src/afb-stub-ws.c +++ b/src/afb-stub-ws.c @@ -354,7 +354,7 @@ static void server_req_subcall_cb(struct afb_xreq *xreq, const char *api, const sc = malloc(sizeof *sc); if (!sc) { - + callback(cb_closure, 1, afb_msg_json_internal_error()); } else { sc->callback = callback; sc->closure = cb_closure;