session: fix acl dumping if last object of previous scope is equal to first object of next one

This commit is contained in:
Jo-Philipp Wich 2013-08-10 21:56:06 +02:00
parent c6e81f4b69
commit 743901cfca

View file

@ -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;