This ldap_value_free() looks like it was part of Jeremy's recent rampage
authorTim Potter <tpot@samba.org>
Mon, 15 Sep 2003 05:20:00 +0000 (05:20 +0000)
committerTim Potter <tpot@samba.org>
Mon, 15 Sep 2003 05:20:00 +0000 (05:20 +0000)
so I'm putting it back in.
(This used to be commit ec49fc8ab73b26f86da155475df90843650f0e63)

source3/lib/smbldap.c

index ea8de36310c3b04b0270816f8bf8883e461ff344..781e6b976c37cf0c4d8a8f624bd74163dde14325 100644 (file)
@@ -428,8 +428,6 @@ 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;
        }