summaryrefslogtreecommitdiff
path: root/source4/libcli/raw
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-01-23 01:29:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:44:04 -0500
commitc471abbcfe21e853f5664320c5b3498cdd4ad186 (patch)
tree6463555aa7e533fd4337031488d5c2a66218e91c /source4/libcli/raw
parentff7f8b57f14772d6a978131583e0072eedd60464 (diff)
downloadsamba-c471abbcfe21e853f5664320c5b3498cdd4ad186.tar.gz
samba-c471abbcfe21e853f5664320c5b3498cdd4ad186.tar.bz2
samba-c471abbcfe21e853f5664320c5b3498cdd4ad186.zip
r20963: remove unused functions, run LOCAL-TDR by default
(This used to be commit 0f34c67fff53d5bd3c1b5a5618190ad7154e8d07)
Diffstat (limited to 'source4/libcli/raw')
-rw-r--r--source4/libcli/raw/rawacl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/libcli/raw/rawacl.c b/source4/libcli/raw/rawacl.c
index 6f35b7f829..1a2d75d274 100644
--- a/source4/libcli/raw/rawacl.c
+++ b/source4/libcli/raw/rawacl.c
@@ -131,12 +131,12 @@ struct smbcli_request *smb_raw_set_secdesc_send(struct smbcli_tree *tree,
nt.in.params.data = params;
nt.in.params.length = 8;
- ndr = ndr_push_init();
+ ndr = ndr_push_init_ctx(NULL);
if (!ndr) return NULL;
status = ndr_push_security_descriptor(ndr, NDR_SCALARS|NDR_BUFFERS, io->set_secdesc.in.sd);
if (!NT_STATUS_IS_OK(status)) {
- ndr_push_free(ndr);
+ talloc_free(ndr);
return NULL;
}
@@ -144,7 +144,7 @@ struct smbcli_request *smb_raw_set_secdesc_send(struct smbcli_tree *tree,
req = smb_raw_nttrans_send(tree, &nt);
- ndr_push_free(ndr);
+ talloc_free(ndr);
return req;
}