From ab430c87d288592aa280ab529017b3d7268a8e38 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Tue, 5 Jun 2018 22:44:01 +0200 Subject: 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 --- ctl-lib/ctl-lua.c | 1 - 1 file changed, 1 deletion(-) 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; } -- cgit 1.2.3-korg