aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libserver/composites/composites.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/composites/composites.cxx b/src/libserver/composites/composites.cxx
index 99a2038c3..f1d742ca9 100644
--- a/src/libserver/composites/composites.cxx
+++ b/src/libserver/composites/composites.cxx
@@ -223,7 +223,7 @@ rspamd_composites_quark(void)
static auto
rspamd_composite_atom_dtor(void *ptr)
{
- auto *atom = reinterpret_cast<rspamd_expression_atom_t *>(ptr);
+ auto *atom = reinterpret_cast<rspamd_composite_atom *>(ptr);
delete atom;
}