From: Adam Dickmeiss Date: Tue, 20 May 2008 13:53:02 +0000 (+0200) Subject: Fixed crash that occurs when decoding fails. X-Git-Tag: v1.1.0.1~2 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=4589223b9cad791d79079fcd669d3292d37b88e3;p=yazpp-moved-to-github.git Fixed crash that occurs when decoding fails. Fixed crash that occurs when decoding fails. The failNotify call is removed because the preceeding close already destroys the object (this). --- diff --git a/src/yaz-z-assoc.cpp b/src/yaz-z-assoc.cpp index 63b346a..7da1676 100644 --- a/src/yaz-z-assoc.cpp +++ b/src/yaz-z-assoc.cpp @@ -94,7 +94,6 @@ void Z_Assoc::recv_PDU(const char *buf, int len) else { close(); - failNotify(); } }