diff options
author | Volker Lendecke <vl@samba.org> | 2007-12-08 11:21:08 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-12-08 09:39:36 -0800 |
commit | 1e26ecf6660ef692ee6dbce14171da49a3833132 (patch) | |
tree | 28d5320cf1e5ab89e2395025d9d12a06787a4609 /source3/libsmb/clidfs.c | |
parent | 0cdcd255a5ab2d776d1f4d010199ca9edd06c5e9 (diff) | |
download | samba-1e26ecf6660ef692ee6dbce14171da49a3833132.tar.gz samba-1e26ecf6660ef692ee6dbce14171da49a3833132.tar.bz2 samba-1e26ecf6660ef692ee6dbce14171da49a3833132.zip |
Fix C++ warnings
(This used to be commit 01a5c3ea4bf18d99ca1c35e8c38367046e4c867b)
Diffstat (limited to 'source3/libsmb/clidfs.c')
-rw-r--r-- | source3/libsmb/clidfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c index f124821e62..e0c40b52ed 100644 --- a/source3/libsmb/clidfs.c +++ b/source3/libsmb/clidfs.c @@ -592,7 +592,7 @@ bool cli_dfs_get_referral(TALLOC_CTX *ctx, *num_refs = 0; *refs = NULL; - param = SMB_MALLOC(2+pathlen+2); + param = SMB_MALLOC_ARRAY(char, 2+pathlen+2); if (!param) { return false; } |