chiark / gitweb /
yaid.c (cancel_proxy): Reorder destruction a little.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 22 Dec 2014 20:32:58 +0000 (20:32 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 18 Jan 2015 16:34:54 +0000 (16:34 +0000)
commit152ca59daf3abc63081bc5da9748d86cbb75c1af
tree568ba3e2bcbc3907d7b1f3836d0b5fc5fa007e05
parenta4f539e726e0796bf4e106e12afc2161e1059dfc
yaid.c (cancel_proxy): Reorder destruction a little.

Alas, `selbuf_enable' can invoke its per-line function, in this case
`client_line', immediately.  So we need to make sure we've detached this
proxy structure before that happens: if we do it afterwards, we risk
clobbering any new proxy that `client_line' has acquired in the
meantime.
yaid.c