summaryrefslogtreecommitdiffstats
path: root/service/validate.c
diff options
context:
space:
mode:
Diffstat (limited to 'service/validate.c')
-rw-r--r--service/validate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/validate.c b/service/validate.c
index 2e610c7..3312d1d 100644
--- a/service/validate.c
+++ b/service/validate.c
@@ -66,6 +66,7 @@ service_validate_dump_all(struct blob_buf *b, char *p, char *s)
json_object_object_add(t, vr->option, json_object_new_string(vr->rule));
}
blobmsg_add_object(b, r);
+ json_object_put(r);
}
void