diff options
author | Gerald Carter <jerry@samba.org> | 2006-09-11 22:02:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:51:22 -0500 |
commit | 5e1146ab5845169aba57dcd216f88589276e5df8 (patch) | |
tree | d82b7eaebe963350ba974378aff5f0e258a8f0f8 /source3/rpc_client/cli_lsarpc.c | |
parent | 68a2430c526ae4b94ecec9690a64936299808140 (diff) | |
download | samba-5e1146ab5845169aba57dcd216f88589276e5df8.tar.gz samba-5e1146ab5845169aba57dcd216f88589276e5df8.tar.bz2 samba-5e1146ab5845169aba57dcd216f88589276e5df8.zip |
r18404: * swap from POLICY_HND to the struct policy_handle from ndr/misc.h
* move OUR_HANDLE macro to include/rpc_misc.h
(This used to be commit 2b37079af2f569df7a58878150a61980c6fe06ee)
Diffstat (limited to 'source3/rpc_client/cli_lsarpc.c')
-rw-r--r-- | source3/rpc_client/cli_lsarpc.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/rpc_client/cli_lsarpc.c b/source3/rpc_client/cli_lsarpc.c index 8597bcb3a8..852602bb54 100644 --- a/source3/rpc_client/cli_lsarpc.c +++ b/source3/rpc_client/cli_lsarpc.c @@ -78,9 +78,6 @@ NTSTATUS rpccli_lsa_open_policy(struct rpc_pipe_client *cli, if (NT_STATUS_IS_OK(result)) { *pol = r.pol; -#ifdef __INSURE__ - pol->marker = MALLOC(1); -#endif } return result; @@ -125,9 +122,6 @@ NTSTATUS rpccli_lsa_open_policy2(struct rpc_pipe_client *cli, if (NT_STATUS_IS_OK(result)) { *pol = r.pol; -#ifdef __INSURE__ - pol->marker = (char *)malloc(1); -#endif } return result; @@ -145,10 +139,6 @@ NTSTATUS rpccli_lsa_close(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, memcpy( &policy, pol, sizeof(policy) ); -#ifdef __INSURE__ - SAFE_FREE(pol->marker); -#endif - return rpccli_lsa_Close( cli, mem_ctx, &policy ); } |