unbreak acl allocation
Signed-off-by: John Crispin <blogic@openwrt.org>
This commit is contained in:
parent
7ec9b8dec7
commit
f7f899d2d3
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ ubusd_acl_alloc_obj(struct ubusd_acl_file *file, const char *obj)
|
|||
struct ubusd_acl_obj *o;
|
||||
char *k;
|
||||
|
||||
o = calloc_a(1, sizeof(*o), &k, strlen(obj) + 1);
|
||||
o = calloc_a(sizeof(*o), &k, strlen(obj) + 1);
|
||||
o->user = file->user;
|
||||
o->group = file->group;
|
||||
o->avl.key = k;
|
||||
|
|
Loading…
Add table
Reference in a new issue