r12400: one line patch for Sun LDAP libs pointed out by Nicholas Brealey <nick@breale...
authorGerald Carter <jerry@samba.org>
Tue, 20 Dec 2005 18:20:39 +0000 (18:20 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:05:55 +0000 (11:05 -0500)
(This used to be commit 5121d3806992da79d194717ef7a9da810b5ff679)

source3/passdb/pdb_ldap.c

index 0c0128176b79f5d49e81c9401ec914238f8e3ada..74ed907a87018d24b51eed05a983cf17eb79d32c 100644 (file)
@@ -1736,7 +1736,7 @@ static NTSTATUS ldapsam_modify_entry(struct pdb_methods *my_methods,
                        if (retdata)
                                ber_bvfree(retdata);
                        if (retoid)
-                               ber_memfree(retoid);
+                               ldap_memfree(retoid);
                }
                ber_bvfree(bv);
        }