Fix replies in wndmgt_srv error paths
commitdf54aa85251aae893ebd928df03d3714b25ea049
authorJiri Svoboda <jiri@wiwaxia>
Tue, 3 Jan 2023 17:56:24 +0000 (3 18:56 +0100)
committerJiri Svoboda <jiri@wiwaxia>
Tue, 3 Jan 2023 20:06:16 +0000 (3 21:06 +0100)
tree44a09cfedc8739d7a4e36f9dcd1bf1724815576d
parent570a3f383acc893b1355dd2d5c791922b2885796
Fix replies in wndmgt_srv error paths

Under the right circumstances we would get an assertion failure,
but in most cases async_answer() would silently fail without
anyone noticing. Since the handle would essentialy be garbage,
we could hit another handle by accident.
uspace/lib/wndmgt/src/wndmgt_srv.c