From: djm@openbsd.org Date: Mon, 15 Sep 2025 04:48:29 +0000 (+0000) Subject: upstream: memleak of rfwd callback context; ok dtucker@ X-Git-Tag: V_10_1_P1~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee77ab9b2ca2d70daf8d4352f5daffa8036ece64;p=thirdparty%2Fopenssh-portable.git upstream: memleak of rfwd callback context; ok dtucker@ OpenBSD-Commit-ID: 70b2aafeaace90703dd16a44a2a0b723d9155f33 --- diff --git a/mux.c b/mux.c index 6b1d463af..7dd1309fa 100644 --- a/mux.c +++ b/mux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mux.c,v 1.105 2025/08/18 03:43:01 djm Exp $ */ +/* $OpenBSD: mux.c,v 1.106 2025/09/15 04:48:29 djm Exp $ */ /* * Copyright (c) 2002-2008 Damien Miller * @@ -668,6 +668,7 @@ mux_confirm_remote_forward(struct ssh *ssh, int type, u_int32_t seq, void *ctxt) if (c->mux_pause <= 0) fatal_f("mux_pause %d", c->mux_pause); c->mux_pause = 0; /* start processing messages again */ + free(fctx); } static int