aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/afb-svc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afb-svc.c b/src/afb-svc.c
index e718291e..74f32ece 100644
--- a/src/afb-svc.c
+++ b/src/afb-svc.c
@@ -166,6 +166,7 @@ error:
static void svc_on_event(struct afb_svc *svc, const char *event, int eventid, struct json_object *object)
{
svc->on_event(event, object);
+ json_object_put(object);
}
/*