mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
Fix a C++ warning
This commit is contained in:
parent
ac027a9b2e
commit
c4cab9e1c1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user