From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 2A6A2423BA for ; Tue, 15 Mar 2022 15:11:34 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8180268A921; Tue, 15 Mar 2022 17:11:32 +0200 (EET) Received: from mail-oo1-f41.google.com (mail-oo1-f41.google.com [209.85.161.41]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9534168A67E for ; Tue, 15 Mar 2022 17:11:30 +0200 (EET) Received: by mail-oo1-f41.google.com with SMTP id h16-20020a4a6f10000000b00320507b9ccfso24698005ooc.7 for ; Tue, 15 Mar 2022 08:11:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=flrcShUfWaUvrQ/50HmZreYp5rfjQVAGyWm6U4S4BZ4=; b=d2pY2IHP1I8A8HQHe5dUYVWt1HNQz6FCPv3iMjwz9e0Bz6z1Tnth+YJ8Sf94vvPy7R Sm+tfWjfE0Q/qm2phu0Oxr6XMfFcnUBTquXqaMwgeavMFoh3Xh6b8duRUc2IYdcGhgC8 hqrVtIaIZHV3vmft2BLTRF/j6mWzGNozj2cPCBCGr2ixz1SEI8jIkyjNB3c6YK43TTOj elJ5eS1t0mNSO/0L7odEFdET0XNL3N0Xn/EsRZ0IXhvm7D39TPBOp0xkhnm2m5jQbAmT ESq3uXn7JEc5tElGneWYgOYx/FYwqDXkW1OSkttHkFDcMC3zjV0USCg1mntD/k5r3i0O psDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=flrcShUfWaUvrQ/50HmZreYp5rfjQVAGyWm6U4S4BZ4=; b=xLI3BbfDBSRy4K6RNLbWwuMTZPcuLM9Ja2h2lUlhhl0kgiHJhouIqrCWWEETfRaNJA UFy/2qRnCi09jD1gg/n1zMGqMsVonfi6h0c4O416vyTWqhEvz3Ty1BtuX3KoPZj9VSN3 vt4KhUXX/vQ+Xfqox44S+CArcqD4IJ64KVKvTNOiy8MR++p8aftqGDTAopTA/rr3BVyb mx1Ge5SJN4/b1fqH/fi2rGEXFhcMK2adQzYhL819YOmqpjt2309lEQLDKd2idS7TSzP9 gNAR6L7yPCpM8cdX/UOg3TL69UvrlCxhLv5NNZv+eDAgPbRLWsF4PdceTDlfOflNbZVf 4NHg== X-Gm-Message-State: AOAM533mCJoTgo7dBOZQVkLn3UFxICWlTXCHsp6P1FOew7Ivs2OuLYlj IGA2sBWt33Hx1/uQonFGysFqWe4+URwvaQ== X-Google-Smtp-Source: ABdhPJxh6dUBRDnzXKsrqTPKSlU4uaMmKJWbiVLkHjNn06ZBeDM7gcgMDwa38Rp55jF/Ih9XuqHfIQ== X-Received: by 2002:a05:6870:e60b:b0:da:2f1f:fd4d with SMTP id q11-20020a056870e60b00b000da2f1ffd4dmr1655120oag.269.1647357088124; Tue, 15 Mar 2022 08:11:28 -0700 (PDT) Received: from [192.168.0.13] ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id v17-20020a9d69d1000000b005b2319a08c4sm9136813oto.18.2022.03.15.08.11.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Mar 2022 08:11:27 -0700 (PDT) Message-ID: <3330db87-6f7d-f759-cd54-f85c7adfe434@gmail.com> Date: Tue, 15 Mar 2022 12:11:26 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: From: James Almer In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH] avutil/channel_layout: Fix leak of string 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 3/15/2022 11:55 AM, Andreas Rheinhardt wrote: > Fixes memleaks in the channel_layout FATE-test. > > Signed-off-by: Andreas Rheinhardt > --- > libavutil/channel_layout.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavutil/channel_layout.c b/libavutil/channel_layout.c > index 05ed35c078..8cc4efe4cf 100644 > --- a/libavutil/channel_layout.c > +++ b/libavutil/channel_layout.c > @@ -587,6 +587,7 @@ int av_channel_layout_from_string(AVChannelLayout *channel_layout, > av_free(channel); > av_free(chname); > } > + av_free(chlist); > > return 0; > } LGTM. _______________________________________________ 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".