summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshconnect2.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2001-02-09 12:28:35 +0000
committermarkus <markus@openbsd.org>2001-02-09 12:28:35 +0000
commit0cff8637dde03facc9fb8e2e3c940a9b44f6c7e8 (patch)
tree7195fe848220662ca2ccddc00009c918680a0f71 /usr.bin/ssh/sshconnect2.c
parentCheck for NULL attribs for chown, chmod & chgrp operations, only send (diff)
downloadwireguard-openbsd-0cff8637dde03facc9fb8e2e3c940a9b44f6c7e8.tar.xz
wireguard-openbsd-0cff8637dde03facc9fb8e2e3c940a9b44f6c7e8.zip
do not free twice, thanks to /etc/malloc.conf
Diffstat (limited to 'usr.bin/ssh/sshconnect2.c')
-rw-r--r--usr.bin/ssh/sshconnect2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshconnect2.c b/usr.bin/ssh/sshconnect2.c
index 655de11ffac..86dcbc33606 100644
--- a/usr.bin/ssh/sshconnect2.c
+++ b/usr.bin/ssh/sshconnect2.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshconnect2.c,v 1.43 2001/02/08 10:47:05 itojun Exp $");
+RCSID("$OpenBSD: sshconnect2.c,v 1.44 2001/02/09 12:28:35 markus Exp $");
#include <openssl/bn.h>
#include <openssl/md5.h>
@@ -970,7 +970,7 @@ authmethod_clear(void)
}
if (authname_current != NULL) {
xfree(authname_current);
- authlist_state = NULL;
+ authname_current = NULL;
}
if (authlist_state != NULL)
authlist_state = NULL;