From 0726b29e5967f2d3fba21b6556b4d8c102ab3621 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 2 Mar 2011 17:10:48 +0100 Subject: s3:idmap_ldap: fix a few typos in a comment and use the chance to reformat the comment properly... Autobuild-User: Michael Adam Autobuild-Date: Fri Mar 11 01:29:09 CET 2011 on sn-devel-104 --- source3/winbindd/idmap_ldap.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source3/winbindd/idmap_ldap.c b/source3/winbindd/idmap_ldap.c index 8444d01620..aaac75f101 100644 --- a/source3/winbindd/idmap_ldap.c +++ b/source3/winbindd/idmap_ldap.c @@ -513,9 +513,10 @@ static NTSTATUS idmap_ldap_db_init(struct idmap_domain *dom, goto done; } - /* set the destructor on the context, so that resource are properly - freed if the contexts is released */ - + /* + * Set the destructor on the context, so that resources are + * properly freed when the context is released. + */ talloc_set_destructor(ctx, idmap_ldap_close_destructor); dom->private_data = ctx; -- cgit