updates.
authorPekka Riikonen <priikone@silcnet.org>
Tue, 25 Dec 2001 19:59:46 +0000 (19:59 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Tue, 25 Dec 2001 19:59:46 +0000 (19:59 +0000)
apps/silcd/server.c

index add682ce7ed650c3c839723dba4262d6319860dc..9ac6828fab07815cd3102ad7da52f744a352144b 100644 (file)
@@ -2744,6 +2744,7 @@ SILC_TASK_CALLBACK(silc_server_timeout_remote)
   /* If we have protocol active we must assure that we call the protocol's
      final callback so that all the memory is freed. */
   if (sock->protocol) {
+    silc_protocol_cancel(sock->protocol, server->schedule);
     sock->protocol->state = SILC_PROTOCOL_STATE_ERROR;
     silc_protocol_execute_final(sock->protocol, server->schedule);
     return;