summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@netdata.cloud>2023-08-03 09:38:20 +0300
committerGitHub <noreply@github.com>2023-08-03 09:38:20 +0300
commit2fc53f00d40d87f9284e22a4df6014c82374fa0b (patch)
treeef5946ab8e7bf35ea65ebe551de5d16270ce5d57 /web
parent85ab210d4b4736ec2eeec481f52cb90d3d3968b2 (diff)
fix the freez pointer of dyncfg (#15719)
Diffstat (limited to 'web')
-rw-r--r--web/api/web_api_v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/api/web_api_v2.c b/web/api/web_api_v2.c
index f1f547a8d3..a38281070c 100644
--- a/web/api/web_api_v2.c
+++ b/web/api/web_api_v2.c
@@ -698,7 +698,7 @@ static int web_client_api_request_v2_config(RRDHOST *host __maybe_unused, struct
if (resp.content_free)
resp.content_free(resp.content);
resp.content = con;
- resp.content_free = freez;
+ resp.content_free = freez_dyncfg;
}
buffer_strcat(w->response.data, resp.content);
if (resp.content_free)