summaryrefslogtreecommitdiffstats
path: root/ml
diff options
context:
space:
mode:
authorvkalintiris <vasilis@netdata.cloud>2022-09-09 00:55:16 +0300
committerGitHub <noreply@github.com>2022-09-09 00:55:16 +0300
commit65f08f3d33e5ef10e6ec84dadce93c6ce9eee1c6 (patch)
treea84b21139d06d181fb0334f35d03a80ca290412e /ml
parente6870f0e8f24486b89396fe4f0985e69e1914c24 (diff)
Do not free AR dimensions from within ML. (#13651)
Do not free AR dimension from ML.
Diffstat (limited to 'ml')
-rw-r--r--ml/Dimension.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ml/Dimension.h b/ml/Dimension.h
index 1cc053df3f..746dcaea20 100644
--- a/ml/Dimension.h
+++ b/ml/Dimension.h
@@ -47,9 +47,7 @@ public:
rrddim_set_name(AnomalyRateRD->rrdset, AnomalyRateRD, Name);
}
- virtual ~RrdDimension() {
- rrddim_free(AnomalyRateRD->rrdset, AnomalyRateRD);
- }
+ virtual ~RrdDimension() {}
private:
RRDDIM *RD;