From patchwork Fri Nov 20 07:32:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 23868 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 274F3448F87 for ; Fri, 20 Nov 2020 09:47:26 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2EFDE68BB59; Fri, 20 Nov 2020 09:34:32 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ej1-f68.google.com (mail-ej1-f68.google.com [209.85.218.68]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1835D68BCC6 for ; Fri, 20 Nov 2020 09:34:23 +0200 (EET) Received: by mail-ej1-f68.google.com with SMTP id i19so11500102ejx.9 for ; Thu, 19 Nov 2020 23:34:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=jjeESV9NiMrj33GbtoCIEWbt+9uSjTjeXKz1vebZnwk=; b=GkV5twSKs/ixyFcI7YQRUn10EaITF+mvNUqqx327TwzupkP+QBmPYKS2wuJuJ3d0oP bTGgEW6iSSqdXOUay0aO8XSjiZaZ3XjTz3iv1VwKDfcD/NuTM4k/n84hjT6f2qEB52Cj sjjxvg0Nv5VspghfxCjN0OUfmSMGYKUozlpnbNtYuie2a7W+D+CLrcUrtehJKzBUGsBz R+xAqqMxIMEJMKj9E0KIVSB6/bMndGBkIVQcjVVSrjpiv5B2b5s39d7JEJLv+qAG03DC KYzOjOqxyaxj5W29pRBaMRwAo/e7hI63UNTKYdUo53jBfqydiy+AWGP+9UZnzUbeXCxI iVYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=jjeESV9NiMrj33GbtoCIEWbt+9uSjTjeXKz1vebZnwk=; b=CaD9t2r0FO18stqijj40zukKCZpJoRKl6Y/R6EXi4gJ7jPA0GH0Rwg9UgyWJgECDpu IBqpQ85sOhjiq5ixDCcAK7DPpdFygIPuca6xjQHLnsg7u++fUXDGbMSGPYY7NS0LL15a rL2gsS0kPi7yxnafEs4N1bbhVXbfzPhGgEzPm8CMcoRxulmWeIrr2TxV3TufNfHURqi1 uh9BQh2e6IWdxCvnbzyFXwRI1QFZSKOWgS6PsCM/7TEKqIPg9ZmyeiGSF0RkbSp66sxj 73Bm4W4E2/b/sWFrWhUFi1c1IbBW3pPLA/BpaBWCwW/ZvqlsoeoMhMvaD9cINPkDJ28X rPgA== X-Gm-Message-State: AOAM53093c0LlSZDsgo/jj0QrYqUzJvB82Tyy1J+692enMMIG/CCeuby RdFEAwBuZfbGczjDUa1xjV/nkmHkbNyzZw== X-Google-Smtp-Source: ABdhPJwcmJlG1qya4aPNNr9Cjqr0o/EtCTkEgiwGHNANqjEf04218MJvxJKUvxgsE2yYZvBfbrs+Mw== X-Received: by 2002:a17:906:ce2a:: with SMTP id sd10mr13481206ejb.21.1605857662403; Thu, 19 Nov 2020 23:34:22 -0800 (PST) Received: from sblaptop.fritz.box (ipbcc1aa4b.dynamic.kabel-deutschland.de. [188.193.170.75]) by smtp.gmail.com with ESMTPSA id i13sm769110ejv.84.2020.11.19.23.34.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2020 23:34:21 -0800 (PST) From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Fri, 20 Nov 2020 08:32:45 +0100 Message-Id: <20201120073327.820745-21-andreas.rheinhardt@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201120072116.818090-1-andreas.rheinhardt@gmail.com> References: <20201120072116.818090-1-andreas.rheinhardt@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 120/162] avcodec/atrac9dec: Replace av_free() by av_freep() in close function X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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 Cc: Andreas Rheinhardt Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Andreas Rheinhardt --- libavcodec/atrac9dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/atrac9dec.c b/libavcodec/atrac9dec.c index 6849296ac0..f0fcd0cb13 100644 --- a/libavcodec/atrac9dec.c +++ b/libavcodec/atrac9dec.c @@ -833,7 +833,7 @@ static av_cold int atrac9_decode_close(AVCodecContext *avctx) ATRAC9Context *s = avctx->priv_data; ff_mdct_end(&s->imdct); - av_free(s->fdsp); + av_freep(&s->fdsp); return 0; }