From: djm Date: Fri, 29 Apr 2022 03:13:32 +0000 (+0000) Subject: fix memleak on session-bind path; from Pedro Martelletto, ok dtucker@ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8d2cae9b0bf1200a92a4dbebea4bd7964cebfe0b;p=openbsd fix memleak on session-bind path; from Pedro Martelletto, ok dtucker@ --- diff --git a/usr.bin/ssh/ssh-agent.c b/usr.bin/ssh/ssh-agent.c index 83a162d4978..27f1eda045e 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.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 * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -1557,6 +1557,7 @@ process_ext_session_bind(SocketEntry *e) /* success */ r = 0; out: + free(fp); sshkey_free(key); sshbuf_free(sid); sshbuf_free(sig);