summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/client/clitar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c
index ce2902e5e9..0b4a8b2943 100644
--- a/source3/client/clitar.c
+++ b/source3/client/clitar.c
@@ -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;