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 87D3F4C580 for ; Sun, 3 Aug 2025 23:31:47 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 1E15368C41E; Mon, 4 Aug 2025 02:31:43 +0300 (EEST) Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id E642A68C98F for ; Mon, 4 Aug 2025 02:31:40 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 1A36B4320B for ; Sun, 3 Aug 2025 23:31:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1754263900; 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=pIPT+ui8ZxUPM3NChPZDBmc4302ZCtjlunGgq5Y/Lmc=; b=IQ6NJ7oPS3yTy4NfIlXostUrpf+Ub+MuCUJO4HZsu2gU5YTQV6iYwm83IyiXgPDiOJKz6X T1DY0Ett5HLsz1YlR1ilGtq5vsS1zk05CX9P2APFK5sUt0lcRptPxr4q6qLVdRR8YhzKbf nVJNr+mmPGkdiriQAC9fCjhqLOKkzC2noL9weyF1wl+p3AcArWKBsdFUhCMBACVZptLenU 3S1PCbdq9HXgvVQPxYiCpoUjad91K+JWF++sXZyAXgIQnLc9s4GJKvSEQbtFqrdytj//tn RSuIj9j7Kp2lqqKIqh5Kh7xHjuajpWuwlRWtqy33zud0zXnxHiJg4L06ucIxfA== Date: Mon, 4 Aug 2025 01:31:39 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250803233139.GO29660@pb2> References: <20250802232848.23129-1-jiashengjiangcool@gmail.com> MIME-Version: 1.0 In-Reply-To: <20250802232848.23129-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] examples: Add av_freep to avoid potential 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="===============1780085352760849596==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============1780085352760849596== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="E9Oc//+p1r2GPACF" Content-Disposition: inline --E9Oc//+p1r2GPACF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 02, 2025 at 11:28:48PM +0000, Jiasheng Jiang wrote: > Add av_freep() to free avio_ctx_buffer if avio_alloc_context fails > to avoid potential memory leak. >=20 > Fixes: 5fc4dea39c ("examples: add avio_reading.c example") > Signed-off-by: Jiasheng Jiang > --- > doc/examples/avio_read_callback.c | 1 + > 1 file changed, 1 insertion(+) will apply thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB What is money laundering? Its paying someone and not telling the government. --E9Oc//+p1r2GPACF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaI/xWwAKCRBhHseHBAsP qyYFAKCFNoOImkckyerA4ZtgEAgoWZjuIQCeOtGMH/bcsL8XSDPgsEge/wr3X4I= =blY7 -----END PGP SIGNATURE----- --E9Oc//+p1r2GPACF-- --===============1780085352760849596== 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". --===============1780085352760849596==--