summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-01-16 18:26:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:11 -0500
commit203622b7340b6e3309ce73f0d51ea9712cb09768 (patch)
tree60e04e4e836cc59276e15554e0b9ce6641d9893b /source3/rpcclient
parent2202bbf4ab179e2c67f0448bcfaec81bb27ddb04 (diff)
downloadsamba-203622b7340b6e3309ce73f0d51ea9712cb09768.tar.gz
samba-203622b7340b6e3309ce73f0d51ea9712cb09768.tar.bz2
samba-203622b7340b6e3309ce73f0d51ea9712cb09768.zip
r20839: Fix other C++ warnings
(This used to be commit d948d828d591b3467945f5a85a561ebb07299d9f)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/cmd_echo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_echo.c b/source3/rpcclient/cmd_echo.c
index 0a06a5c166..81028dfb73 100644
--- a/source3/rpcclient/cmd_echo.c
+++ b/source3/rpcclient/cmd_echo.c
@@ -101,7 +101,7 @@ static NTSTATUS cmd_echo_source_data(struct rpc_pipe_client *cli,
size = atoi(argv[1]);
- out_data = SMB_MALLOC(size);
+ out_data = SMB_MALLOC_ARRAY(uint8, size);
result = rpccli_echo_SourceData(cli, mem_ctx, size, out_data);
if (!NT_STATUS_IS_OK(result))