X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fhs-proxy.cpp;h=ea8976c78e9c40c6dcd870192cf923b3cba67500;hb=36574a78bc7baaf3dd254ed91641fd993fc90c14;hp=cdbf24971167abfd80553b2da8be16d541f21223;hpb=66d1ba22264303e705bbe126578c0c99cdb80dba;p=apps%2Fagl-service-homescreen.git diff --git a/src/hs-proxy.cpp b/src/hs-proxy.cpp index cdbf249..ea8976c 100644 --- a/src/hs-proxy.cpp +++ b/src/hs-proxy.cpp @@ -185,7 +185,7 @@ void HS_AfmMainProxy::start(struct hs_instance *instance, afb_req_t request, con * and client context there. We pass the closure_data with the client context * and the application id to remove it. */ - if (!instance) + if (!instance || id.empty()) return; cdata = static_cast(calloc(1, sizeof(*cdata)));