mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-14 17:47:33 -05:00

If named_pipe_agent_gotdata was called with an error or EOF status, it would call agent_cancel_query(pq), but then accidentally fall through to the non-error handler which would dereference pq. I meant to return early in that situation, and Coverity spotted that I'd left out the early return statement.