diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-08-30 10:23:00 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-08-30 10:23:00 +0100 |
commit | 355ccaca3c2ffc8e08a09934d96d995cd8334228 (patch) | |
tree | ed040c2b5f5f4f0f8122be557821879e2a50ca5e | |
parent | aa4b2c6e0ccc36755c3b110dc68397ac7a94e5d3 (diff) | |
download | rspamd-355ccaca3c2ffc8e08a09934d96d995cd8334228.tar.gz rspamd-355ccaca3c2ffc8e08a09934d96d995cd8334228.zip |
[Fix] Delete the correct pointer type
Issue: #3853
-rw-r--r-- | src/libserver/composites/composites.cxx | 2 |
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; } |