mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Two small memory leaks, also noticed by Martin Prikryl.
[originally from svn r3752]
This commit is contained in:
parent
b424ea234f
commit
a326264500
1
ssh.c
1
ssh.c
@ -5198,6 +5198,7 @@ static void do_ssh2_authconn(Ssh ssh, unsigned char *in, int inlen, int ispkt)
|
||||
|
||||
ssh2_pkt_send(ssh);
|
||||
s->type = AUTH_TYPE_PUBLICKEY;
|
||||
key->alg->freekey(key->data);
|
||||
}
|
||||
} else if (s->method == AUTH_PASSWORD) {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user