aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-06-18 20:35:05 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-06-18 20:35:24 +0100
commit447755d6c8951bdf9593dab9593dac368bcaa372 (patch)
tree733e2cc6e71edc604b116d1fd167b904bfebaee5 /test
parent43055e2379b4796d146a3825df5b314681041a2b (diff)
downloadrspamd-447755d6c8951bdf9593dab9593dac368bcaa372.tar.gz
rspamd-447755d6c8951bdf9593dab9593dac368bcaa372.zip
[Test] Slightly reorganize tests
Diffstat (limited to 'test')
-rw-r--r--test/rspamd_cxx_unit_utils.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/rspamd_cxx_unit_utils.hxx b/test/rspamd_cxx_unit_utils.hxx
index a65adab70..f5c532ff5 100644
--- a/test/rspamd_cxx_unit_utils.hxx
+++ b/test/rspamd_cxx_unit_utils.hxx
@@ -46,6 +46,7 @@ TEST_CASE("rspamd_strip_smtp_comments_inplace") {
memcpy(cpy, c.first.data(), c.first.size());
auto nlen = rspamd_strip_smtp_comments_inplace(cpy, c.first.size());
CHECK(std::string{cpy,nlen} == c.second);
+ delete[] cpy;
}
}