[BUG] restore accidentely removed line in last patch !
The test condition for the acl expression validity got dropped, and only the error remained. Error reported by Krzysztof Oledzki.
This commit is contained in:
parent
ac778f5ade
commit
1edb144b8d
|
@ -669,6 +669,7 @@ struct acl_expr *parse_acl_expr(const char **args)
|
||||||
if (!end)
|
if (!end)
|
||||||
goto out_free_expr;
|
goto out_free_expr;
|
||||||
arg2 = my_strndup(arg, end - arg);
|
arg2 = my_strndup(arg, end - arg);
|
||||||
|
if (!arg2)
|
||||||
goto out_free_expr;
|
goto out_free_expr;
|
||||||
expr->arg_len = end - arg;
|
expr->arg_len = end - arg;
|
||||||
expr->arg.str = arg2;
|
expr->arg.str = arg2;
|
||||||
|
|
Loading…
Reference in New Issue