diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-06-05 22:44:01 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-06-29 19:38:23 +0200 |
commit | d23e43cb61c3d9ca210a3429fc6ae498f7efd32e (patch) | |
tree | b1c4a73b1015bb59307749446051957a5238781d | |
parent | 516394580b0ec92e19f677ff13eab16d30738a3a (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>
-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; } |