git.samba.org
/
ab
/
samba.git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
[ab/samba.git/.git]
/
source4
/
libads
/
ldap_user.c
diff --git
a/source4/libads/ldap_user.c
b/source4/libads/ldap_user.c
index 56a0d8013b2b8ee6ddc32a0d37cc50dcf6907a8c..0032f8c9ab2dc24b7901358a37260f0d592c25b8 100644
(file)
--- a/
source4/libads/ldap_user.c
+++ b/
source4/libads/ldap_user.c
@@
-80,7
+80,7
@@
ADS_STATUS ads_add_user_acct(ADS_STRUCT *ads, const char *user,
status = ads_gen_add(ads, new_dn, mods);
done:
- talloc_
destroy
(ctx);
+ talloc_
free
(ctx);
return status;
}
@@
-113,7
+113,7
@@
ADS_STATUS ads_add_group_acct(ADS_STRUCT *ads, const char *group,
status = ads_gen_add(ads, new_dn, mods);
done:
- talloc_
destroy
(ctx);
+ talloc_
free
(ctx);
return status;
}
#endif