summaryrefslogtreecommitdiffstats
path: root/source/lib/smbldap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib/smbldap.c')
-rw-r--r--source/lib/smbldap.c2
1 files changed, 2 insertions, 0 deletions
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;
}