From 772f4f02724ee81db96c9455be8afdb304603642 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Tue, 11 Apr 2017 14:15:38 +0200 Subject: Fix a memory leak MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id47b417f6e5f8bf2322b1de7ed12579de711160f Signed-off-by: José Bollo --- bindings/samples/HelloWorld.c | 1 + 1 file changed, 1 insertion(+) (limited to 'bindings') diff --git a/bindings/samples/HelloWorld.c b/bindings/samples/HelloWorld.c index c16bb92a..c6fa779c 100644 --- a/bindings/samples/HelloWorld.c +++ b/bindings/samples/HelloWorld.c @@ -280,6 +280,7 @@ static void eventpush (struct afb_req request) else afb_req_success(request, NULL, NULL); pthread_mutex_unlock(&mutex); + json_object_put(object); } static void exitnow (struct afb_req request) -- cgit 1.2.3-korg