mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
C++ warning
(This used to be commit 85a7f800b6ff8a21d234cee1a24123fb48bafa13)
This commit is contained in:
parent
22e329d37f
commit
d58868f2a4
@ -619,7 +619,7 @@ static void do_atar(const char *rname_in,char *lname,file_info *finfo1)
|
||||
|
||||
GetTimeOfDay(&tp_start);
|
||||
|
||||
data = SMB_MALLOC(read_size);
|
||||
data = SMB_MALLOC_ARRAY(char, read_size);
|
||||
if (!data) {
|
||||
DEBUG(0,("do_atar: out of memory.\n"));
|
||||
goto cleanup;
|
||||
|
Loading…
x
Reference in New Issue
Block a user