summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/passdb/pdb_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/passdb/pdb_ldap.c b/source/passdb/pdb_ldap.c
index 29e0ade464f..9f0d530424e 100644
--- a/source/passdb/pdb_ldap.c
+++ b/source/passdb/pdb_ldap.c
@@ -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);
}