X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-so.c;h=320834f7e23a3402605ab3e67936af03018054b5;hb=cb1745092fcc69c35f799060d050ef1ec0d1d429;hp=a365294c87565fd6437c262172d85deb4f055feb;hpb=ad9cee7d6e86ba4497ffb09b4acb3b2c07b42a12;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-so.c b/src/afb-api-so.c index a365294c..320834f7 100644 --- a/src/afb-api-so.c +++ b/src/afb-api-so.c @@ -109,7 +109,6 @@ static void call_check(struct afb_req req, struct afb_context *context, const st if ((stag & AFB_SESSION_CREATE) != 0) { if (afb_context_check_loa(context, 1)) { - afb_context_close(context); afb_req_fail(req, "failed", "invalid creation state"); return; }