summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2007-12-08 11:25:05 +0100
committerVolker Lendecke <vl@samba.org>2007-12-09 17:04:05 +0100
commitd58868f2a474c29d954eb7e6ff8627b3d77d0544 (patch)
tree52f8e59e5a9bd3360390628da75af68726a27d65
parent22e329d37fe7ce2cbb8545c83560a4698bca4a4b (diff)
downloadsamba-d58868f2a474c29d954eb7e6ff8627b3d77d0544.tar.gz
samba-d58868f2a474c29d954eb7e6ff8627b3d77d0544.tar.bz2
samba-d58868f2a474c29d954eb7e6ff8627b3d77d0544.zip
C++ warning
(This used to be commit 85a7f800b6ff8a21d234cee1a24123fb48bafa13)
-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;