X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fhs-proxy.cpp;h=33cfce3bf0bf964639321f408de0bf5486088150;hb=3d3afa16bc3f4e8d15c57cd380b4c0e2fc3c3557;hp=33e5d53cd441eeed6ff260ab05a04ec47d861228;hpb=e5c9cb71a537b92096f2f05058522b811f735838;p=apps%2Fagl-service-homescreen.git diff --git a/src/hs-proxy.cpp b/src/hs-proxy.cpp index 33e5d53..33cfce3 100644 --- a/src/hs-proxy.cpp +++ b/src/hs-proxy.cpp @@ -154,7 +154,6 @@ int HS_AfmMainProxy::detail(afb_api_t api, const std::string &id, struct json_ob */ void HS_AfmMainProxy::start(struct hs_instance *instance, afb_req_t request, const std::string &id) { - struct json_object *args = json_object_new_string(id.c_str()); struct closure_data *cdata; /* tentatively store the client and client context, as the afb_req_t @@ -187,5 +186,5 @@ void HS_AfmMainProxy::start(struct hs_instance *instance, afb_req_t request, con AFB_WARNING("Failed to handle subcribe\n"); } - api_call(request->api, _afm_main, __FUNCTION__, args, cdata); + api_call(request->api, _afm_main, __FUNCTION__, json_object_new_string(id.c_str()), cdata); }