1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-18 00:23:50 +03:00

Fix C++ warnings

This commit is contained in:
Volker Lendecke
2007-12-08 11:21:08 +01:00
committed by Jeremy Allison
parent 60500fac30
commit 01a5c3ea4b
5 changed files with 16 additions and 16 deletions

View File

@@ -255,7 +255,7 @@ int cli_list_new(struct cli_state *cli,const char *Mask,uint16 attribute,
break;
}
param = SMB_MALLOC(12+nlen+last_name_raw.length+2);
param = SMB_MALLOC_ARRAY(char, 12+nlen+last_name_raw.length+2);
if (!param) {
break;
}