diff options
Diffstat (limited to 'source4/lib/ms_fnmatch.c')
-rw-r--r-- | source4/lib/ms_fnmatch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ms_fnmatch.c b/source4/lib/ms_fnmatch.c index 386dac4ea3..c405d2ff30 100644 --- a/source4/lib/ms_fnmatch.c +++ b/source4/lib/ms_fnmatch.c @@ -198,7 +198,7 @@ int ms_fnmatch(const char *pattern, const char *string, enum protocol_types prot if (pattern[i] == '*' || pattern[i] == '<') count++; } - max_n = talloc_array_p(NULL, struct max_n, count); + max_n = talloc_array(NULL, struct max_n, count); if (!max_n) { return -1; } |