From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 5A1914BD2E for ; Sat, 28 Jun 2025 21:07:04 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 565F268E565; Sun, 29 Jun 2025 00:07:02 +0300 (EEST) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id E3D2668E560 for ; Sun, 29 Jun 2025 00:06:55 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 267CE444A9 for ; Sat, 28 Jun 2025 21:06:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1751144815; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UpVVcoyS6mDssOpVmeTJqvUZkbn2BDA2M3zZorTOJJo=; b=N4etYc4CLsm95/BsVqvbf2eG31HG86e5Glz/WnqYPpTWgWdgPr9fRbqSsNw7xx/GatFJFw S+myI/FmUiUDXUxcbtWkj9KU0XSvS03s4OVZ92wHERBnKz+5hFWaCEdTR5LjBFOUEd0Fqd pG6PTnC5SvSGAXFwnv6I48A5FfmkeoSbfqZzKeMWe/WVvOiEM3PqIW5+kdOX7IhbBKHD7O teB6/QHm8LSf4Vw/OcBbto5QPhwOhsOikQ+W0XNOruAgUQ/hC3I4GU3DmkeV3Yhep05zjL xkZ1wHXagvyX8Sjpug7JegXDlhbgbqkpam6lYHvP/yY+qVgpSUUHPp5hLSV06Q== Date: Sat, 28 Jun 2025 23:06:54 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250628210654.GR29660@pb2> References: <20250627140918.2832152-1-502024330056@smail.nju.edu.cn> <20250627140918.2832152-4-502024330056@smail.nju.edu.cn> MIME-Version: 1.0 In-Reply-To: <20250627140918.2832152-4-502024330056@smail.nju.edu.cn> X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdeileejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdduhedmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpeeigeektdejudffjefhteegjedtgeettefggedthfejgfevhfetgeekjedtvdfhveenucfkphepgedurdeiiedrieejrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieejrdduudefpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 3/4] avfilter/vf_lut3d: fix leak if allocate_3dlut failed X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: multipart/mixed; boundary="===============7057043059606075242==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============7057043059606075242== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gGJEHqlpttNsVWtg" Content-Disposition: inline --gGJEHqlpttNsVWtg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 27, 2025 at 10:09:17PM +0800, Lidong Yan wrote: > In parse_cinespace(), memory allocated in in_prelut[] and out_prelut[] > would leak if allocate_3dlut() failed. Replace return ret with goto end > to free memory before return error code. >=20 > Signed-off-by: Lidong Yan <502024330056@smail.nju.edu.cn> > --- > libavfilter/vf_lut3d.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) will apply thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB If you fake or manipulate statistics in a paper in physics you will never get a job again. If you fake or manipulate statistics in a paper in medicin you will get a job for life at the pharma industry. --gGJEHqlpttNsVWtg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaGBZbgAKCRBhHseHBAsP qxLoAJ9rA2IPloer1h0378sbJ81uGtnxtgCgiCZi2IELO24JBKrE5pzfiykdy+w= =SpZS -----END PGP SIGNATURE----- --gGJEHqlpttNsVWtg-- --===============7057043059606075242== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". --===============7057043059606075242==--