summaryrefslogtreecommitdiff
path: root/source3/lib/smbldap.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-09-15 05:12:30 +0000
committerTim Potter <tpot@samba.org>2003-09-15 05:12:30 +0000
commitb7ddb777936afc7cd1afb44fdcb80406821b688b (patch)
treeada17412a860d9af181d37f1f5eb1bf7e84a349c /source3/lib/smbldap.c
parent0d9410f61d5482e8dfd51dcf89dda44e125336fb (diff)
downloadsamba-b7ddb777936afc7cd1afb44fdcb80406821b688b.tar.gz
samba-b7ddb777936afc7cd1afb44fdcb80406821b688b.tar.bz2
samba-b7ddb777936afc7cd1afb44fdcb80406821b688b.zip
I think this is a bugfix that somehow was dropped from the 3.0 tree.
(This used to be commit 299eb0abd36072af51cbcb761fa9fb6a77584585)
Diffstat (limited to 'source3/lib/smbldap.c')
-rw-r--r--source3/lib/smbldap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c
index 781e6b976c..ea8de36310 100644
--- a/source3/lib/smbldap.c
+++ b/source3/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;
}