diff options
author | 2021-02-02 22:35:14 +0000 | |
---|---|---|
committer | 2021-02-02 22:35:14 +0000 | |
commit | 4f162faeae2bdddb4351764219a89996cb5dade4 (patch) | |
tree | f6d6f5373e75db0926d19474e964fd1934aa57c8 /usr.bin/ssh | |
parent | add -Tu to usage(); (diff) | |
download | wireguard-openbsd-4f162faeae2bdddb4351764219a89996cb5dade4.tar.xz wireguard-openbsd-4f162faeae2bdddb4351764219a89996cb5dade4.zip |
memleak on error path; ok markus@
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r-- | usr.bin/ssh/ssh-agent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-agent.c b/usr.bin/ssh/ssh-agent.c index d00626d61d7..8731075deb2 100644 --- a/usr.bin/ssh/ssh-agent.c +++ b/usr.bin/ssh/ssh-agent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-agent.c,v 1.275 2021/01/29 06:29:46 djm Exp $ */ +/* $OpenBSD: ssh-agent.c,v 1.276 2021/02/02 22:35:14 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -508,9 +508,9 @@ process_remove_identity(SocketEntry *e) TAILQ_REMOVE(&idtab->idlist, id, next); free_identity(id); idtab->nentries--; - sshkey_free(key); success = 1; done: + sshkey_free(key); send_status(e, success); } |