summaryrefslogtreecommitdiffstats
path: root/src/libmime/message.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-09-02 13:32:09 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-09-02 13:32:09 +0100
commitc33af58a53b686b18a0236a5cca62ae3e0322fc2 (patch)
tree00fe9be74de62ec49d163069218c12e209af4e7c /src/libmime/message.h
parentcc206f252c468fa3ecc339d3fe939234e90adc8c (diff)
downloadrspamd-c33af58a53b686b18a0236a5cca62ae3e0322fc2.tar.gz
rspamd-c33af58a53b686b18a0236a5cca62ae3e0322fc2.zip
[Minor] Fix stupid memory leak
Diffstat (limited to 'src/libmime/message.h')
-rw-r--r--src/libmime/message.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libmime/message.h b/src/libmime/message.h
index 25bf70f77..a391daf0d 100644
--- a/src/libmime/message.h
+++ b/src/libmime/message.h
@@ -26,7 +26,6 @@ extern "C" {
struct rspamd_task;
struct controller_session;
-struct html_content;
struct rspamd_image;
struct rspamd_archive;
@@ -144,7 +143,7 @@ struct rspamd_mime_text_part {
UText utf_stripped_text; /* Used by libicu to represent the utf8 content */
GPtrArray *newlines; /**< positions of newlines in text, relative to content*/
- struct html_content *html;
+ void *html;
GList *exceptions; /**< list of offsets of urls */
struct rspamd_mime_part *mime_part;