talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 502474a0d4b00ecc461e82042f853fef06fc858c
parent 68b65ac49c4d51ef855fd65e2a9206e528190a82
Author: wwp <subscript@free.fr>
Date:   Thu,  7 Oct 2021 09:30:52 +0200

Free ptr only if necessary (around CID 1491058).

Diffstat:
Msrc/ldif.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ldif.c b/src/ldif.c @@ -714,8 +714,8 @@ static void ldif_read_file( LdifFile *ldifFile, AddressCache *cache ) { g_free( tagName ); } } + g_free( line ); } - g_free( line ); } /* Release data */ @@ -889,8 +889,8 @@ static void ldif_read_tag_list( LdifFile *ldifFile ) { } } } + g_free( line ); } - g_free( line ); } /* Release data */