diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-06-05 22:44:01 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-12-13 15:02:55 +0100 |
commit | ab430c87d288592aa280ab529017b3d7268a8e38 (patch) | |
tree | b57940240d3872a6a3551684592b909ea25f524d /ctl-lib/ctl-lua.c | |
parent | 7b807d877716ecd37cefbe536d5a700ae3c8f481 (diff) |
Fixed crash due to call to json_object_put
Call to json_object_put seems no longer needed in LuaAfbSuccess.
Change-Id: I2ee850605633b953217b3ad52a4a11059e841be3
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'ctl-lib/ctl-lua.c')
-rw-r--r-- | ctl-lib/ctl-lua.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ctl-lib/ctl-lua.c b/ctl-lib/ctl-lua.c index d891e24..7e66e2c 100644 --- a/ctl-lib/ctl-lua.c +++ b/ctl-lib/ctl-lua.c @@ -397,7 +397,6 @@ static int LuaAfbSuccess(lua_State* luaState) { AFB_ReqSuccess(source->request, responseJ, NULL); - json_object_put(responseJ); return 0; } |