summaryrefslogtreecommitdiffstats
path: root/source/rpcclient/cmd_samr.c
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
commit55b9cd7af611e5f76896e1849529629e5e7caaf8 (patch)
tree1f11fb15316f6da396a7ca61f23275f78e2f0fc4 /source/rpcclient/cmd_samr.c
parent6697e46183719c894ec115c0fd8a18ad4191b347 (diff)
downloadsamba-55b9cd7af611e5f76896e1849529629e5e7caaf8.tar.gz
samba-55b9cd7af611e5f76896e1849529629e5e7caaf8.tar.xz
samba-55b9cd7af611e5f76896e1849529629e5e7caaf8.zip
close some handles. not really necessary but doesn't hurt.
J.F.
Diffstat (limited to 'source/rpcclient/cmd_samr.c')
-rw-r--r--source/rpcclient/cmd_samr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/rpcclient/cmd_samr.c b/source/rpcclient/cmd_samr.c
index f8fac269fa9..80f212a2099 100644
--- a/source/rpcclient/cmd_samr.c
+++ b/source/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;
}