commit 6ec00336640722361e30415df927f1c7022a41b8 parent 1a6649b3f22aa6851435ed3c9772152fd99000c9 Author: wwp <subscript@free.fr> Date: Thu, 7 Oct 2021 09:30:52 +0200 Free ptr only if necessary (around CID 1491058). Diffstat:
| M | src/ldif.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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 */