commit 355ccac: [Fix] Delete the correct pointer type
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon Aug 30 09:28:04 UTC 2021
Author: Vsevolod Stakhov
Date: 2021-08-30 10:23:00 +0100
URL: https://github.com/rspamd/rspamd/commit/355ccaca3c2ffc8e08a09934d96d995cd8334228 (HEAD -> master)
[Fix] Delete the correct pointer type
Issue: #3853
---
src/libserver/composites/composites.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}
More information about the Commits
mailing list