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 A82044C59F for ; Sun, 3 Aug 2025 23:33:26 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id A846068C8D0; Mon, 4 Aug 2025 02:33:24 +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 49BC4687D79 for ; Mon, 4 Aug 2025 02:33:18 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id AECB643188 for ; Sun, 3 Aug 2025 23:33:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1754263997; 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=0+XtybPgmBvEde428E5Efym7kwHiIhMZilImVBdWUSk=; b=Bkx+mO11oiVmG4UnkZkZxdb2aluqvbUr1LPLNLKTYNz/Iy5nYDkJDdvMzDMUkc+5G2KbpU BNbFTtKDO1JuzWUmPULRENVAMu+ZVapZqTcDHJVBnMdW+/2VO60+4UkLMQqNelBZBF43eW Qzn9LyKZ44bsLHfbg+GY+eygESzmgfKy6YAoBJXSyK/T09uq/N/p8KbrewI07/SkIJSOes UjHrpzDeMY3GMeuJ2qlNNfsi4lxqNN4IXUZrSi7YVt7tSLfSMrcCgg6Ki4kRLM4LIVhfp2 mL5+N21adO/Zxkwr7DOkQtnvi7rEx3yZsC+JxeD6/yMJ/MEIC/2nsFvGXVyRCA== Date: Mon, 4 Aug 2025 01:33:17 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250803233317.GQ29660@pb2> References: <20250803200938.931-1-jiashengjiangcool@gmail.com> MIME-Version: 1.0 In-Reply-To: <20250803200938.931-1-jiashengjiangcool@gmail.com> X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdduuddtjeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdduhedmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpeeigeektdejudffjefhteegjedtgeettefggedthfejgfevhfetgeekjedtvdfhveenucfkphepgedurdeiiedrieehrddujeeinecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehinhgvthepgedurdeiiedrieehrddujeeipdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH] avcodec/tests/avpacket: Add av_packet_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="===============1748792905709989158==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============1748792905709989158== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OEAJ217sKL6teu/v" Content-Disposition: inline --OEAJ217sKL6teu/v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 03, 2025 at 08:09:38PM +0000, Jiasheng Jiang wrote: > Add av_packet_free() to free avpkt_clone and avpkt in the error paths to = avoid potential memory leak. >=20 > Fixes: da3c69a5a9 ("Added test for libavcodec/avpacket.c") > Signed-off-by: Jiasheng Jiang > --- > libavcodec/tests/avpacket.c | 3 +++ > 1 file changed, 3 insertions(+) will apply thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB It is dangerous to be right in matters on which the established authorities are wrong. -- Voltaire --OEAJ217sKL6teu/v Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaI/xvAAKCRBhHseHBAsP q/zzAJ0XUGokF/p5fildirx7AjJH8rD1DwCeJoulkRhydC4WAssfLjaUXUBESew= =Qw1n -----END PGP SIGNATURE----- --OEAJ217sKL6teu/v-- --===============1748792905709989158== 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". --===============1748792905709989158==--