aboutsummaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'bindings')
-rw-r--r--bindings/samples/HelloWorld.c1
1 files changed, 1 insertions, 0 deletions
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)