mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
r5401: using talloc_array() is neater here
(This used to be commit b35ee83536e01c000aace2f4764f6727efd63170)
This commit is contained in:
parent
530d46f674
commit
4d980e56c4
@ -34,7 +34,7 @@ const char **str_list_make(TALLOC_CTX *mem_ctx, const char *string, const char *
|
||||
sep = LIST_SEP;
|
||||
}
|
||||
|
||||
ret = talloc_realloc(mem_ctx, NULL, const char *, 1);
|
||||
ret = talloc_array(mem_ctx, const char *, 1);
|
||||
if (ret == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user