diff --git a/source/lib/smbldap.c b/source/lib/smbldap.c index 781e6b976c3..ea8de36310c 100644 --- a/source/lib/smbldap.c +++ b/source/lib/smbldap.c @@ -428,6 +428,8 @@ BOOL fetch_ldap_pw(char **dn, char** pw) /* Believe it or not, but LDAP will deny a delete and an add at the same time if the values are the same... */ + + ldap_value_free(values); return; }