r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
[abartlet/samba.git/.git] / source4 / lib / ms_fnmatch.c
index 386dac4ea373f2c726c423ff6deec95f3f507fe0..c405d2ff30f9ba9a962c4fdf87c1c129f2bb9741 100644 (file)
@@ -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;
        }