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 928844C588 for ; Sun, 3 Aug 2025 23:33:08 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id ED3E568C3C2; Mon, 4 Aug 2025 02:33:05 +0300 (EEST) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 126BC68BA25 for ; Mon, 4 Aug 2025 02:32:58 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 66C6B41DF1 for ; Sun, 3 Aug 2025 23:32:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1754263977; 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=DxiXh7AawPoz8bTbY73F/UCEstPZ9FFi1RmvuhVgij8=; b=FQYx3s75R9We4NjEYEzvxzK5hD9FnUu9lVpZiagqNHuHq0w/iBYtNbH9bzIWl/3c0d7T6g jSTUkU2XdsMexLL21U5StKjIwEuEvRqjsnQhVl+pmLrxs14k22Va6uRFaHMVnENs9lx7hk iQbKaOF9LHkyohT/UV/NumXSpdaP0jbObAOVqq0KqiO6Ma+S4z9O/d8O1tICAr2JpQTlqY 0ZV+fxepxKmM0yGtkkapo1rFBXakVZ7KZ5Uo/TDBMN91NeW8NwkDk54eL0hEm9sjwtqxQw fNNlCKh98R9VculhWslxPoi6tkmMy3AIOljSuboOYzAfEZIwCR8GEO/m0AGnmA== Date: Mon, 4 Aug 2025 01:32:56 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250803233256.GP29660@pb2> References: <20250803191438.44405-1-jiashengjiangcool@gmail.com> MIME-Version: 1.0 In-Reply-To: <20250803191438.44405-1-jiashengjiangcool@gmail.com> X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdduuddtjeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdduhedmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpeeigeektdejudffjefhteegjedtgeettefggedthfejgfevhfetgeekjedtvdfhveenucfkphepgedurdeiiedrieehrddujeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieehrddujeeipdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH] avcodec/tests/avpacket: 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="===============3802259752419341991==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============3802259752419341991== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="U9j48gn7TIjrH8Q1" Content-Disposition: inline --U9j48gn7TIjrH8Q1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 03, 2025 at 07:14:38PM +0000, Jiasheng Jiang wrote: > Add av_free() to free extra_data if av_packet_add_side_data() fails. >=20 > Fixes: da3c69a5a9 ("Added test for libavcodec/avpacket.c") > Signed-off-by: Jiasheng Jiang > --- > libavcodec/tests/avpacket.c | 1 + > 1 file changed, 1 insertion(+) >=20 will apply thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Elect your leaders based on what they did after the last election, not based on what they say before an election. --U9j48gn7TIjrH8Q1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaI/xqAAKCRBhHseHBAsP q4XUAKCbqmociFHKf6/3Nqq4TqKBrTnRbgCcCnla06yq2SnjjUZ+0vwxeLCsVQ4= =IgGj -----END PGP SIGNATURE----- --U9j48gn7TIjrH8Q1-- --===============3802259752419341991== 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". --===============3802259752419341991==--