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 12A3A4C9CB for ; Thu, 7 Aug 2025 00:25:14 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id A5B8F68CCC2; Thu, 7 Aug 2025 03:25:12 +0300 (EEST) Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 02BE868CC6F for ; Thu, 7 Aug 2025 03:25:05 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 5A76B4318F for ; Thu, 7 Aug 2025 00:25:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1754526305; 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=vWaPhmPvdeoKjxNGXLtuq6EQBi9HWKs3vv3D4Sz0DSg=; b=mcveSXTsIVzNYJ2kZortCcYY/SHcJavlFJY+PlL1m6kKG+J0wbQrT+4NyqYrESgBZf1nGL lQ5rfavFxFkwWxviE6cFmXerBTPdlVxtq9BLvF8BbjgqUZCYVfdmHDf9+2/wj+zcqtKyWj RaslAU8ekXzdawSPLJkvIaT82Jl1ljttMXfTResJ6Vnm7QSjJpVdOYHyBpgjFO7xKC8AXH pJeUaxss4N+0zwqR4PHpEmkynTzlpzC5SbKJa1XbxOfQ4y7yFUxph3KaUquis4ZlUcOXRP sOcz9MAqJ+qGea44LrWDvKC+33pUIlYV+RxXS4eBi8xtv8SMO/UHmKrSV8bP3A== Date: Thu, 7 Aug 2025 02:25:04 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250807002504.GD29660@pb2> References: <20250803233127.4888-1-jiashengjiangcool@gmail.com> MIME-Version: 1.0 In-Reply-To: <20250803233127.4888-1-jiashengjiangcool@gmail.com> X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdduudelgeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdduhedmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpeeigeektdejudffjefhteegjedtgeettefggedthfejgfevhfetgeekjedtvdfhveenucfkphepgedurdeiiedrieehrddujeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieehrddujeeipdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH] libavcodec/tests/snowenc: Add av_free() to avoid memory leak 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="===============3701105537007946856==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============3701105537007946856== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="E/t1mG6Ma3aWH433" Content-Disposition: inline --E/t1mG6Ma3aWH433 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 03, 2025 at 11:31:27PM +0000, Jiasheng Jiang wrote: > Add av_free() to free s.temp_dwt_buffer and s.temp_idwt_buffer at the end= of the function to avoid memory leak. >=20 > Fixes: 5d48e4eafa ("Merge commit 'a6a750c7ef240b72ce01e9653343a0ddf247d19= 6'") > Signed-off-by: Jiasheng Jiang > --- > libavcodec/tests/snowenc.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) will apply thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The misfortune of the wise is better than the prosperity of the fool. -- Epicurus --E/t1mG6Ma3aWH433 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaJPyYAAKCRBhHseHBAsP q3UVAJ9Ehc8uEmq/7CWoB90n6sQfyUWxRACcD8d8lW70aq/kZ+kYYtFWXClYlZE= =9BDI -----END PGP SIGNATURE----- --E/t1mG6Ma3aWH433-- --===============3701105537007946856== 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". --===============3701105537007946856==--