summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_adex/likewise_cell.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd/idmap_adex/likewise_cell.c')
-rw-r--r--source3/winbindd/idmap_adex/likewise_cell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/idmap_adex/likewise_cell.c b/source3/winbindd/idmap_adex/likewise_cell.c
index 7723b3e015..d666d8c01a 100644
--- a/source3/winbindd/idmap_adex/likewise_cell.c
+++ b/source3/winbindd/idmap_adex/likewise_cell.c
@@ -400,10 +400,10 @@ done:
e!=NULL;
e = ads_next_entry(c->conn, e))
{
- char *dn = ads_get_dn(c->conn, e);
+ char *dn = ads_get_dn(c->conn, talloc_tos(), e);
DEBUGADD(10,(" dn: %s\n", dn ? dn : "<NULL>"));
- SAFE_FREE(dn);
+ TALLOC_FREE(dn);
}
}