summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2001-12-21 22:18:06 +0000
committerJean-François Micouleau <jfm@samba.org>2001-12-21 22:18:06 +0000
commit52d50bac7a46e0a7d1f9d5933b1e12f4116e9bf4 (patch)
tree4c3650521c5467694c2c05f8ab1319d082598355
parentca87fe7176a69cdce25154b943ec4bb6118e0b03 (diff)
downloadsamba-52d50bac7a46e0a7d1f9d5933b1e12f4116e9bf4.tar.gz
samba-52d50bac7a46e0a7d1f9d5933b1e12f4116e9bf4.tar.bz2
samba-52d50bac7a46e0a7d1f9d5933b1e12f4116e9bf4.zip
close some handles. not really necessary but doesn't hurt.
J.F. (This used to be commit 55b9cd7af611e5f76896e1849529629e5e7caaf8)
-rw-r--r--source3/rpcclient/cmd_samr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c
index f8fac269fa..80f212a209 100644
--- a/source3/rpcclient/cmd_samr.c
+++ b/source3/rpcclient/cmd_samr.c
@@ -922,6 +922,9 @@ static NTSTATUS cmd_samr_query_dominfo(struct cli_state *cli,
}
done:
+
+ cli_samr_close(cli, mem_ctx, &domain_pol);
+ cli_samr_close(cli, mem_ctx, &connect_pol);
return result;
}