From c4cab9e1c1f4975d970665f85838b2dea023d5fc Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 23 Feb 2008 10:52:12 +0100 Subject: [PATCH] Fix a C++ warning --- source/utils/smbcontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/utils/smbcontrol.c b/source/utils/smbcontrol.c index 76036bfdde6..db2eefe1e22 100644 --- a/source/utils/smbcontrol.c +++ b/source/utils/smbcontrol.c @@ -1035,7 +1035,7 @@ static bool do_winbind_dump_domain_list(struct messaging_context *msg_ctx, print_pid_string_cb); buf_len = sizeof(myid)+domain_len; - buf = SMB_MALLOC(buf_len); + buf = SMB_MALLOC_ARRAY(uint8_t, buf_len); if (!buf) { return false; }