summaryrefslogtreecommitdiffstats
path: root/web/api/health
diff options
context:
space:
mode:
authorEmmanuel Vasilakis <mrzammler@mm.st>2022-06-02 15:46:23 +0300
committerGitHub <noreply@github.com>2022-06-02 15:46:23 +0300
commit27e9c50b569dde9c042379cec5c7e85b888403a2 (patch)
tree958da24e7602ea142fa335e866d017679049813c /web/api/health
parent658f8f9073acecf57d330d4b3a875a70e66c3cc5 (diff)
Fix coverity 378625 (#13055)
free jsonb buffer
Diffstat (limited to 'web/api/health')
-rw-r--r--web/api/health/health_cmdapi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/api/health/health_cmdapi.c b/web/api/health/health_cmdapi.c
index c5fb711952..bad3e960a8 100644
--- a/web/api/health/health_cmdapi.c
+++ b/web/api/health/health_cmdapi.c
@@ -199,6 +199,7 @@ int web_client_api_request_v1_mgmt_health(RRDHOST *host, struct web_client *w, c
BUFFER *jsonb = buffer_create(200);
health_silencers2json(jsonb);
health_silencers2file(jsonb);
+ buffer_free(jsonb);
}
return ret;