Prevent COMSTACK use if cs_accept fails
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 17 Jun 2008 14:05:48 +0000 (16:05 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 17 Jun 2008 14:05:48 +0000 (16:05 +0200)
src/seshigh.c

index b2dcd41..2a3ff0e 100644 (file)
@@ -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)