aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libserver/html.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libserver/html.c b/src/libserver/html.c
index 9c6fd0888..5055a9aae 100644
--- a/src/libserver/html.c
+++ b/src/libserver/html.c
@@ -990,6 +990,10 @@ add_html_node (struct rspamd_task *task,
return FALSE;
}
}
+ else {
+ /* Destroy ignored nodes */
+ g_node_destroy (new);
+ }
}
return TRUE;