]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Fix] Fix memory leak in custom tokenizer result handling
authorVsevolod Stakhov <vsevolod@rspamd.com>
Wed, 19 Nov 2025 17:19:40 +0000 (17:19 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Wed, 19 Nov 2025 17:19:40 +0000 (17:19 +0000)
commit8ed7c2e3d188742dde896b447a2ed33dd42a9680
treea6723bc1665d3f2427d734b9b783ab116ec6371e
parent070f8fa094dc5daf2443198f73d0c770b0d1d4ab
[Fix] Fix memory leak in custom tokenizer result handling

Free dynamically allocated kvec array after copying tokens to avoid
memory leak when using custom tokenizers with exceptions.
src/libstat/tokenizers/tokenizers.c