1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-22 07:33:16 +03:00

r25184: Fix some C++ warnings and an uninitialized variable

(This used to be commit b64df8a3c5)
This commit is contained in:
Volker Lendecke
2007-09-15 20:24:35 +00:00
committed by Gerald (Jerry) Carter
parent f82eb0fef6
commit ad97bcf813
5 changed files with 6 additions and 6 deletions

View File

@@ -995,7 +995,7 @@ BOOL in_list(const char *s, const char *list, BOOL casesensitive)
/* We know a token can't be larger
* than the entire list. */
tok = SMB_MALLOC(bufsize+1);
tok = SMB_MALLOC_ARRAY(char, bufsize+1);
if (!tok) {
return False;
}