[Commits] [SCM] claws branch, gtk2, updated. 3.20.0-18-gd6c92d6f0

wwp at claws-mail.org wwp at claws-mail.org
Tue Jan 2 09:03:15 UTC 2024


The branch, gtk2 has been updated
       via  d6c92d6f097e07a8e15884d4aefbe7c16be8cf6d (commit)
      from  6d873861fd0b7db1542e48c0f7c50a3a1e506d43 (commit)

Summary of changes:
 src/matcher.c | 1 +
 1 file changed, 1 insertion(+)


- Log -----------------------------------------------------------------
commit d6c92d6f097e07a8e15884d4aefbe7c16be8cf6d
Author: wwp <subscript at free.fr>
Date:   Tue Jan 2 10:02:55 2024 +0100

    Fix bug 4720 (resource leak), patch by olaf at aepfle.de.

diff --git a/src/matcher.c b/src/matcher.c
index fccf954cf..889d460d3 100644
--- a/src/matcher.c
+++ b/src/matcher.c
@@ -509,6 +509,7 @@ static gboolean matcherprop_string_match(MatcherProp *prop, const gchar *str,
 				    | ((prop->matchtype == MATCHTYPE_REGEXPCASE)
 				    ? REG_ICASE : 0)) != 0) {
 				prop->error = 1;
+                regfree(prop->preg);
 				g_free(prop->preg);
 				prop->preg = NULL;
 			}

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list