summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-08-09 10:12:56 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-08-09 10:12:56 +0200
commitb0d9ff9157f188a32d46c7a583b5b2e35ca26343 (patch)
treecaecb6c30cc9739fe452d3854d79e10b9240be4b
parent0b4128a07be87a9efb189a88d9ab694914cf0d3b (diff)
fix tiny memory leakblowfish_2.0.22.0.2
Change-Id: I7ad19eeb73c613893682824d6becc500277d01d6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-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);
}
/*