From 1e26ecf6660ef692ee6dbce14171da49a3833132 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 8 Dec 2007 11:21:08 +0100 Subject: Fix C++ warnings (This used to be commit 01a5c3ea4bf18d99ca1c35e8c38367046e4c867b) --- source3/libsmb/clidfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/libsmb/clidfs.c') 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; } -- cgit