summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-02-09 12:28:36 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-02-09 12:28:36 +0000
commite0df515b98e17249411a4ba417325f60adf7808e (patch)
tree7e1318347a64511c10b507b495d2d2d8620f078e /usr.bin
parent010599737aad23904b988d180e4528a4c317604c (diff)
do not free twice, thanks to /etc/malloc.conf
Diffstat (limited to 'usr.bin')
-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;