diff options
Diffstat (limited to 'source3/smbwrapper/smbw_dir.c')
-rw-r--r-- | source3/smbwrapper/smbw_dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbwrapper/smbw_dir.c b/source3/smbwrapper/smbw_dir.c index a89af54e1a..8ba1de4726 100644 --- a/source3/smbwrapper/smbw_dir.c +++ b/source3/smbwrapper/smbw_dir.c @@ -85,7 +85,7 @@ static void smbw_dir_add(struct file_info *finfo, const char *mask, if (cur_dir->malloced == cur_dir->count) { cdl = (struct file_info *)Realloc(cur_dir->list, sizeof(cur_dir->list[0])* - (cur_dir->count+100)); + (cur_dir->count+100), True); if (!cdl) { /* oops */ return; |