From 3939d0f59b399825b75e55172794823a52c68bba Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 17 Jun 2008 16:05:48 +0200 Subject: [PATCH] Prevent COMSTACK use if cs_accept fails --- src/seshigh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/seshigh.c b/src/seshigh.c index b2dcd41..2a3ff0e 100644 --- a/src/seshigh.c +++ b/src/seshigh.c @@ -398,6 +398,7 @@ void ir_session(IOCHAN h, int event) yaz_log(YLOG_WARN, "accept failed"); destroy_association(assoc); iochan_destroy(h); + return; } iochan_clearflag(h, EVENT_OUTPUT); if (conn->io_pending) -- 1.7.10.4