diff options
author | Gerald Carter <jerry@samba.org> | 2004-12-16 12:30:49 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2004-12-16 12:30:49 +0000 |
commit | 8d91e07ef22ad3ed484b04bc4968380a24940696 (patch) | |
tree | b5b8989f8da9ef7f852081f0460995386edd4b5d /source/rpcclient/cmd_lsarpc.c | |
parent | 1a878c865637feb80206c0dc599acebf7f4a46bd (diff) | |
download | samba-1f51fd67ae110edf69960955585c2473731c6486.tar.gz samba-1f51fd67ae110edf69960955585c2473731c6486.tar.xz samba-1f51fd67ae110edf69960955585c2473731c6486.zip |
r4231: commiting changes to 3.0.10samba-3.0.10
Diffstat (limited to 'source/rpcclient/cmd_lsarpc.c')
-rw-r--r-- | source/rpcclient/cmd_lsarpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpcclient/cmd_lsarpc.c b/source/rpcclient/cmd_lsarpc.c index d9afde465da..2b8279ccd2e 100644 --- a/source/rpcclient/cmd_lsarpc.c +++ b/source/rpcclient/cmd_lsarpc.c @@ -207,7 +207,7 @@ static NTSTATUS cmd_lsa_lookup_sids(struct cli_state *cli, TALLOC_CTX *mem_ctx, /* Convert arguments to sids */ - sids = (DOM_SID *)talloc(mem_ctx, sizeof(DOM_SID) * (argc - 1)); + sids = TALLOC_ARRAY(mem_ctx, DOM_SID, argc - 1); if (!sids) { printf("could not allocate memory for %d sids\n", argc - 1); |