[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-328-g6ec003366

wwp at claws-mail.org wwp at claws-mail.org
Thu Oct 7 10:46:37 CET 2021


The branch, gtk3 has been updated
       via  6ec00336640722361e30415df927f1c7022a41b8 (commit)
      from  1a6649b3f22aa6851435ed3c9772152fd99000c9 (commit)

Summary of changes:
 src/ldif.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 6ec00336640722361e30415df927f1c7022a41b8
Author: wwp <subscript at free.fr>
Date:   Thu Oct 7 09:30:52 2021 +0200

    Free ptr only if necessary (around CID 1491058).

diff --git a/src/ldif.c b/src/ldif.c
index 8dfdb2c64..6f686590f 100644
--- a/src/ldif.c
+++ b/src/ldif.c
@@ -713,8 +713,8 @@ static void ldif_read_file( LdifFile *ldifFile, AddressCache *cache ) {
 					g_free( tagName );
 				}
 			}
+			g_free( line );
 		}
-		g_free( line );
 	}
 
 	/* Release data */
@@ -888,8 +888,8 @@ static void ldif_read_tag_list( LdifFile *ldifFile ) {
 					}
 				}
 			}
+			g_free( line );
 		}
-		g_free( line );
 	}
 
 	/* Release data */

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list