diff options
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index bbe5572a2d..1e2f96cbf2 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -4060,7 +4060,7 @@ static char **remote_completion(const char *text, int len) info.samelen = info.len = len-i-1; if (i > 0) { - info.dirmask = SMB_MALLOC(i+2); + info.dirmask = SMB_MALLOC_ARRAY(char, i+2); if (!info.dirmask) { goto cleanup; } |