[Commits] [SCM] claws branch, master, updated. 4.3.1-39-g0df388b34

mones at claws-mail.org mones at claws-mail.org
Sun Mar 9 17:17:00 UTC 2025


The branch, master has been updated
       via  0df388b346e5b9474bafbe1aa1d28810d0764616 (commit)
      from  295a5b31fc8a52fe36bc7fdbf9cd554539bce8f5 (commit)

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


- Log -----------------------------------------------------------------
commit 0df388b346e5b9474bafbe1aa1d28810d0764616
Author: Ricardo Mones <ricardo at mones.org>
Date:   Sun Mar 9 18:16:34 2025 +0100

    Fix CID 1491239: resource leak
    
    addritem_person_add_attribute() keeps the attrib data on the list when
    condition is true.

diff --git a/src/ldapquery.c b/src/ldapquery.c
index 429988d11..4bfe53116 100644
--- a/src/ldapquery.c
+++ b/src/ldapquery.c
@@ -543,6 +543,7 @@ static GList *ldapqry_build_items_fl(
 				g_free(picfile);
 				g_free(dir);
 			}
+			addritem_free_attribute(attrib);
 		}
 	}
 	

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list