Fix assertion

parent 63d2dc17
...@@ -618,7 +618,7 @@ pesi_buf_bytes(struct vdp_ctx *vdx, enum vdp_action act, void **priv, ...@@ -618,7 +618,7 @@ pesi_buf_bytes(struct vdp_ctx *vdx, enum vdp_action act, void **priv,
Lck_Lock(&tree->tree_lock); Lck_Lock(&tree->tree_lock);
if (parent->state == ST_PRIVATE) if (parent->state == ST_PRIVATE)
set_open(tree, parent, vdx->wrk); set_open(tree, parent, vdx->wrk);
assert(parent->state = ST_OPEN); assert(parent->state == ST_OPEN);
tree_deliver(vdx, tree); tree_deliver(vdx, tree);
Lck_Unlock(&tree->tree_lock); Lck_Unlock(&tree->tree_lock);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment