Fixed crash that occurs when decoding fails.
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 20 May 2008 13:53:02 +0000 (15:53 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 20 May 2008 13:53:02 +0000 (15:53 +0200)
Fixed crash that occurs when decoding fails. The failNotify call
is removed because the preceeding close already destroys the object (this).

src/yaz-z-assoc.cpp

index 63b346a..7da1676 100644 (file)
@@ -94,7 +94,6 @@ void Z_Assoc::recv_PDU(const char *buf, int len)
     else
     {
         close();
-        failNotify();
     }
 }