From 772f4f02724ee81db96c9455be8afdb304603642 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Tue, 11 Apr 2017 14:15:38 +0200 Subject: [PATCH] Fix a memory leak MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: Id47b417f6e5f8bf2322b1de7ed12579de711160f Signed-off-by: José Bollo --- bindings/samples/HelloWorld.c | 1 + 1 file changed, 1 insertion(+) 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) -- 2.16.6