summaryrefslogtreecommitdiffstats
path: root/src/libmime/mime_headers.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-23 19:27:04 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-23 19:27:04 +0000
commit24f07eac1dc9a73fdfcd60fca156ac7f5035b6c2 (patch)
tree1fe6d34eb2060f4ba3f645064e16b8f24a6683ff /src/libmime/mime_headers.c
parentaf417271a47e88d47cc3dc25f93f56d74864c3dd (diff)
downloadrspamd-24f07eac1dc9a73fdfcd60fca156ac7f5035b6c2.tar.gz
rspamd-24f07eac1dc9a73fdfcd60fca156ac7f5035b6c2.zip
[Project] Track more memory allocations in a task
Diffstat (limited to 'src/libmime/mime_headers.c')
-rw-r--r--src/libmime/mime_headers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmime/mime_headers.c b/src/libmime/mime_headers.c
index e0c91c478..aed7575eb 100644
--- a/src/libmime/mime_headers.c
+++ b/src/libmime/mime_headers.c
@@ -787,6 +787,7 @@ rspamd_mime_header_decode (rspamd_mempool_t *pool, const gchar *in,
g_byte_array_free (token, TRUE);
g_byte_array_free (decoded, TRUE);
rspamd_mime_header_sanity_check (out);
+ rspamd_mempool_notify_alloc (pool, out->len);
ret = g_string_free (out, FALSE);
rspamd_mempool_add_destructor (pool, g_free, ret);