From f5eab4421c0fcda6907259cb91ba091e9cca5eae Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 1 May 2001 23:07:30 +0000 Subject: Fixup smbcacls. Don't return memory already freed, don't free memory allocated with talloc. Jeremy. (This used to be commit 0ae0d024f5898f7e47e4b1d4487b15447096780c) --- source3/include/proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include/proto.h') 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 */ -- cgit