From 060f6b9d62939600a787bba60bf8bf92a6dbc63f Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 7 Aug 2018 19:21:18 +0200 Subject: Fix: segfault after adding new objects This let the application framework handle the JSON object lifetime. Change-Id: Iff48f478d71e71e25ed79d2c7c13b45a7b6a7bf9 Signed-off-by: Romain Forlot --- signal-composer-binding/signal-composer-binding.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'signal-composer-binding') diff --git a/signal-composer-binding/signal-composer-binding.cpp b/signal-composer-binding/signal-composer-binding.cpp index 0603656..a9be63e 100644 --- a/signal-composer-binding/signal-composer-binding.cpp +++ b/signal-composer-binding/signal-composer-binding.cpp @@ -211,7 +211,6 @@ void addObjects(afb_req request) return; } } - json_object_put(objectsJ); afb_req_success(request, NULL, NULL); } else -- cgit 1.2.3-korg