commit c82c2cc: [Minor] Oops: I have written too long in C++

Vsevolod Stakhov vsevolod at rspamd.com
Tue Jul 25 15:07:06 UTC 2023


Author: Vsevolod Stakhov
Date: 2023-07-24 13:28:53 +0100
URL: https://github.com/rspamd/rspamd/commit/c82c2ccc54d5f99d99782d3282e6f2a8671eef2e

[Minor] Oops: I have written too long in C++

---
 src/libmime/message.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/libmime/message.c b/src/libmime/message.c
index f3cd482a0..5ab712283 100644
--- a/src/libmime/message.c
+++ b/src/libmime/message.c
@@ -1496,6 +1496,8 @@ rspamd_message_process (struct rspamd_task *task)
 			g_array_index(detected_text_parts, struct rspamd_mime_part_text_position, i).res);
 	}
 
+	g_array_free (detected_text_parts, TRUE);
+
 	if (old_top != -1) {
 		lua_settop (L, old_top);
 	}


More information about the Commits mailing list