@cryptotaxi247 / netdata-1 / commits / 27e9c50b5

Fix coverity 378625 (#13055)

free jsonb buffer

Emmanuel Vasilakis committed Jun 2, 2022 at 15:46 UTC 27e9c50b569dde9c042379cec5c7e85b888403a2
1 file changed +1
web/api/health/health_cmdapi.c
+1
@@ -199,6 +199,7 @@ int web_client_api_request_v1_mgmt_health(RRDHOST *host, struct web_client *w, c
199 BUFFER *jsonb = buffer_create(200);
200 health_silencers2json(jsonb);
201 health_silencers2file(jsonb);
202 + buffer_free(jsonb);
203 }
204
205 return ret;