diff options
Diffstat (limited to 'src/supplemental/websocket/websocket.c')
| -rw-r--r-- | src/supplemental/websocket/websocket.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/supplemental/websocket/websocket.c b/src/supplemental/websocket/websocket.c index d614c58d..effba8d7 100644 --- a/src/supplemental/websocket/websocket.c +++ b/src/supplemental/websocket/websocket.c @@ -541,9 +541,10 @@ ws_write_cb(void *arg) return; } - frame = ws->txframe; - wm = frame->wmsg; - aio = wm->aio; + frame = ws->txframe; + wm = frame->wmsg; + aio = wm->aio; + ws->txframe = NULL; if ((rv = nni_aio_result(ws->txaio)) != 0) { |
