0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-17 11:12:42 +00:00

Fix coverity 378625 ()

free jsonb buffer
This commit is contained in:
Emmanuel Vasilakis 2022-06-02 15:46:23 +03:00 committed by GitHub
parent 658f8f9073
commit 27e9c50b56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;