diff options
author | Akio Fukubayashi <fukubayashi.akio@genetec.co.jp> | 2019-09-04 18:15:00 +0900 |
---|---|---|
committer | Akio Fukubayashi <fukubayashi.akio@genetec.co.jp> | 2019-09-04 18:15:00 +0900 |
commit | 5bac1a6577423c09fb28b8e13937294fef576cf5 (patch) | |
tree | 9eb8f774129f8004953178d364b53c55a036ab5e /src/api.cpp | |
parent | edb90da2281c014f9b623f46533aa9d48cce2b90 (diff) |
Signed-off-by: Akio Fukubayashi <fukubayashi.akio@genetec.co.jp>
Diffstat (limited to 'src/api.cpp')
-rw-r--r-- | src/api.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/api.cpp b/src/api.cpp index 879feb0..27a8a49 100644 --- a/src/api.cpp +++ b/src/api.cpp @@ -87,8 +87,6 @@ void OnRequestNavicoreGetPosition(afb_req_t req) afb_req_fail(req, "failed", "navicore_getposition Bad Request"); } - // Json object release - json_object_put(response.json_data); AFB_API_NOTICE(req->api, "<-- End %s()", __func__); } @@ -130,8 +128,6 @@ void OnRequestNavicoreGetAllRoutes(afb_req_t req) afb_req_fail(req, "failed", "navicore_getallroutes Bad Request"); } - // json object release - json_object_put(response.json_data); AFB_API_NOTICE(req->api, "<-- End %s()", __func__); } @@ -182,8 +178,6 @@ void OnRequestNavicoreCreateRoute(afb_req_t req) afb_req_fail(req, "failed", "navicore_createroute Bad Request"); } - // json object release - json_object_put(response.json_data); AFB_API_NOTICE(req->api, "<-- End %s()", __func__); } @@ -454,8 +448,6 @@ void OnRequestNavicoreGetAllSessions(afb_req_t req) afb_req_fail(req, "failed", "navicore_getallsessions Bad Request"); } - // json object release - json_object_put(response.json_data); AFB_API_NOTICE(req->api, "<-- End %s()", __func__); } |