summaryrefslogtreecommitdiffstats
path: root/database/rrdcalctemplate.c
diff options
context:
space:
mode:
authorVladimir Kobal <vlad@prokk.net>2022-04-01 15:22:49 +0200
committerGitHub <noreply@github.com>2022-04-01 15:22:49 +0200
commit7bfc543172115ee8c042f605c3af1432c43d1b07 (patch)
treeee0bce08b5526aae8dc13f737eddfe7696f26a61 /database/rrdcalctemplate.c
parent6ba6d670172ab4387ff722348f61c8268c410ed6 (diff)
Fix memory leaks on Netdata exit (#12511)
* Fix memory leaks in dimensions and charts * Initialize superblock memory regions * Clean up static threads * Fix memory leaks in compression * Fix memory leaks in rrdcaltemplate * Fix memory leaks in health config * Fix ACLK memory leaks
Diffstat (limited to 'database/rrdcalctemplate.c')
-rw-r--r--database/rrdcalctemplate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/database/rrdcalctemplate.c b/database/rrdcalctemplate.c
index 67288e9dbb..9789f4beab 100644
--- a/database/rrdcalctemplate.c
+++ b/database/rrdcalctemplate.c
@@ -120,6 +120,9 @@ inline void rrdcalctemplate_free(RRDCALCTEMPLATE *rt) {
freez(rt->name);
freez(rt->exec);
freez(rt->recipient);
+ freez(rt->classification);
+ freez(rt->component);
+ freez(rt->type);
freez(rt->context);
freez(rt->source);
freez(rt->units);