aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-05-02 15:58:52 -0700
committerGarrett D'Amore <garrett@damore.org>2018-05-02 15:58:52 -0700
commit649e5d5ca9a03cef766e944c7735aab50041c012 (patch)
tree5b732b9e69ef5e40e8331ce3092d508861cc9271 /src/supplemental
parent4e34fbd64b592fe276400443d493c79a3d451175 (diff)
downloadnng-649e5d5ca9a03cef766e944c7735aab50041c012.tar.gz
nng-649e5d5ca9a03cef766e944c7735aab50041c012.tar.bz2
nng-649e5d5ca9a03cef766e944c7735aab50041c012.zip
fixes #390 panic in reqstress websocket
Diffstat (limited to 'src/supplemental')
-rw-r--r--src/supplemental/websocket/websocket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/supplemental/websocket/websocket.c b/src/supplemental/websocket/websocket.c
index 74b56437..e562b209 100644
--- a/src/supplemental/websocket/websocket.c
+++ b/src/supplemental/websocket/websocket.c
@@ -566,6 +566,7 @@ ws_write_cb(void *arg)
if ((rv = nni_aio_result(ws->txaio)) != 0) {
+ nni_list_remove(&ws->txmsgs, wm);
ws_msg_fini(wm);
if (aio != NULL) {
nni_aio_list_remove(aio);