summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-02-23 10:52:12 +0100
committerVolker Lendecke <vl@samba.org>2008-02-23 11:04:13 +0100
commit44b2ba6880100417705dea05c9bf0272f1ddc3d3 (patch)
tree0f50da011249e657c41ccb1d7c1efaaa9afb48d7
parent6548493de7680dedd429bf851fc57b577e06c673 (diff)
downloadsamba-44b2ba6880100417705dea05c9bf0272f1ddc3d3.tar.gz
samba-44b2ba6880100417705dea05c9bf0272f1ddc3d3.tar.bz2
samba-44b2ba6880100417705dea05c9bf0272f1ddc3d3.zip
Fix a C++ warning
(This used to be commit c4cab9e1c1f4975d970665f85838b2dea023d5fc)
-rw-r--r--source3/utils/smbcontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c
index 76036bfdde..db2eefe1e2 100644
--- a/source3/utils/smbcontrol.c
+++ b/source3/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;
}