summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-05-01 23:07:30 +0000
committerJeremy Allison <jra@samba.org>2001-05-01 23:07:30 +0000
commitf5eab4421c0fcda6907259cb91ba091e9cca5eae (patch)
treed091ec613c15342bd895c1d5447130bc6a6e49c8 /source3/include/proto.h
parent0961f7b494319e90c581016fda95be0b8eaf4229 (diff)
downloadsamba-f5eab4421c0fcda6907259cb91ba091e9cca5eae.tar.gz
samba-f5eab4421c0fcda6907259cb91ba091e9cca5eae.tar.bz2
samba-f5eab4421c0fcda6907259cb91ba091e9cca5eae.zip
Fixup smbcacls. Don't return memory already freed, don't free memory allocated
with talloc. Jeremy. (This used to be commit 0ae0d024f5898f7e47e4b1d4487b15447096780c)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 35d2793e9b..d231ca06e4 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1127,7 +1127,7 @@ ssize_t cli_smbwrite(struct cli_state *cli,
/*The following definitions come from libsmb/clisecdesc.c */
-SEC_DESC *cli_query_secdesc(struct cli_state *cli,int fd);
+SEC_DESC *cli_query_secdesc(struct cli_state *cli,int fd, TALLOC_CTX *mem_ctx);
BOOL cli_set_secdesc(struct cli_state *cli,int fd, SEC_DESC *sd);
/*The following definitions come from libsmb/clistr.c */