session: fix acl dumping if last object of previous scope is equal to first object of next one
This commit is contained in:
parent
c6e81f4b69
commit
743901cfca
1 changed files with 1 additions and 0 deletions
|
@ -142,6 +142,7 @@ rpc_session_dump_acls(struct rpc_session *ses, struct blob_buf *b)
|
|||
{
|
||||
if (c) blobmsg_close_table(b, c);
|
||||
c = blobmsg_open_table(b, acl_scope->avl.key);
|
||||
lastobj = NULL;
|
||||
}
|
||||
|
||||
d = NULL;
|
||||
|
|
Loading…
Add table
Reference in a new issue