[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-313-g224f1e26f
wwp at claws-mail.org
wwp at claws-mail.org
Tue Oct 5 12:47:26 CEST 2021
The branch, gtk3 has been updated
via 224f1e26f81bbf5f984f43ff5f48045c00f6350d (commit)
from 38915be2c2718111f16fa6f6b8c325df913e1aac (commit)
Summary of changes:
src/addrindex.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 224f1e26f81bbf5f984f43ff5f48045c00f6350d
Author: wwp <subscript at free.fr>
Date: Tue Oct 5 12:46:24 2021 +0200
Fix CID 1491180: resource leak (and not stopping at first match
whereas we should).
diff --git a/src/addrindex.c b/src/addrindex.c
index 1517f02e8..fe2a83401 100644
--- a/src/addrindex.c
+++ b/src/addrindex.c
@@ -3178,7 +3178,7 @@ gchar *addrindex_get_picture_file(const gchar *emailaddr)
/* Get all persons */
listP = addrindex_ds_get_all_persons( ds );
nodeP = listP;
- while( nodeP ) {
+ while( nodeP && !found) {
GList *nodeM;
ItemPerson *person = nodeP->data;
nodeM = person->listEMail;
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list