talons

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

commit 4b4eded683dee45b097c800bae15f9c11d5d087c
parent e345eea1d16843b8d5feaf6a7378bb11cd649e30
Author: wwp <subscript@free.fr>
Date:   Tue,  5 Oct 2021 09:59:05 +0200

Fix CID 1491349: resource leak.

Diffstat:
Msrc/ldapupdate.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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; }