Fix potential memory leak
[apps/agl-service-homescreen.git] / src / hs-proxy.cpp
index 30c258d..cdbf249 100644 (file)
@@ -172,7 +172,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