summaryrefslogtreecommitdiffstats
path: root/ctl-lib
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-06-05 22:44:01 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-06-07 07:23:23 +0000
commite9f423ad86bb6ca7081df36e5f2aaedba0f5d24c (patch)
treeb57940240d3872a6a3551684592b909ea25f524d /ctl-lib
parentce3e14c8214d7319a3630418c52081fe6cb9c66d (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')
-rw-r--r--ctl-lib/ctl-lua.c1
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;
}