[Commits] [SCM] claws branch, master, updated. 3.18.0-248-g4b4eded68

wwp at claws-mail.org wwp at claws-mail.org
Tue Oct 5 09:59:36 CEST 2021


The branch, master has been updated
       via  4b4eded683dee45b097c800bae15f9c11d5d087c (commit)
      from  e345eea1d16843b8d5feaf6a7378bb11cd649e30 (commit)

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


- Log -----------------------------------------------------------------
commit 4b4eded683dee45b097c800bae15f9c11d5d087c
Author: wwp <subscript at free.fr>
Date:   Tue Oct 5 09:59:05 2021 +0200

    Fix CID 1491349: resource leak.

diff --git a/src/ldapupdate.c b/src/ldapupdate.c
index 62a638b69..d64884f0a 100644
--- a/src/ldapupdate.c
+++ b/src/ldapupdate.c
@@ -1133,6 +1133,7 @@ void ldapsvr_update_contact(LdapServer *server, GHashTable *contact) {
 				log_error(LOG_PROTOCOL, _("LDAP error (rename): from '%s' to '%s': %d (%s)\n"),
 						dn, newRdn, rc, ldaputil_get_error(ld));
 				g_free(newRdn);
+				rdn_free(NoRemove);
 				clean_up(ld, server, contact);
 				return;
 			}

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list