mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-29 08:44:52 +02:00
upstream: fix memleak on session-bind path; from Pedro Martelletto, ok
dtucker@ OpenBSD-Commit-ID: e85899a26ba402b4c0717b531317e8fc258f0a7e
This commit is contained in:
parent
e055220080
commit
247082b501
@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: ssh-agent.c,v 1.287 2022/01/14 03:43:48 djm Exp $ */
|
/* $OpenBSD: ssh-agent.c,v 1.288 2022/04/29 03:13:32 djm Exp $ */
|
||||||
/*
|
/*
|
||||||
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||||
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||||
@ -1570,6 +1570,7 @@ process_ext_session_bind(SocketEntry *e)
|
|||||||
/* success */
|
/* success */
|
||||||
r = 0;
|
r = 0;
|
||||||
out:
|
out:
|
||||||
|
free(fp);
|
||||||
sshkey_free(key);
|
sshkey_free(key);
|
||||||
sshbuf_free(sid);
|
sshbuf_free(sid);
|
||||||
sshbuf_free(sig);
|
sshbuf_free(sig);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user