summaryrefslogtreecommitdiff
path: root/packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/packet.c b/packet.c
index 9ffd9f59b..042ec7c4f 100644
--- a/packet.c
+++ b/packet.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: packet.c,v 1.294 2020/06/26 11:26:01 semarie Exp $ */ 1/* $OpenBSD: packet.c,v 1.295 2020/07/01 16:28:31 markus Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -654,6 +654,8 @@ ssh_packet_close_internal(struct ssh *ssh, int do_close)
654 ssh->remote_ipaddr = NULL; 654 ssh->remote_ipaddr = NULL;
655 free(ssh->state); 655 free(ssh->state);
656 ssh->state = NULL; 656 ssh->state = NULL;
657 kex_free(ssh->kex);
658 ssh->kex = NULL;
657 } 659 }
658} 660}
659 661