From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ffmpeg-devel-bounces@ffmpeg.org>
Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100])
	by master.gitmailbox.com (Postfix) with ESMTPS id D2A314E7C5
	for <ffmpegdev@gitmailbox.com>; Wed, 11 Jun 2025 20:42:39 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 64F6768B316;
	Wed, 11 Jun 2025 23:42:29 +0300 (EEST)
Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com
 [209.85.208.54])
 by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 489F768B0A7
 for <ffmpeg-devel@ffmpeg.org>; Wed, 11 Jun 2025 23:42:22 +0300 (EEST)
Received: by mail-ed1-f54.google.com with SMTP id
 4fb4d7f45d1cf-606ddbda275so627717a12.1
 for <ffmpeg-devel@ffmpeg.org>; Wed, 11 Jun 2025 13:42:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1749674541; x=1750279341; darn=ffmpeg.org;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=aF8LS+LPK5hKUr09eGscWoC5k2W06eAV7tjeVBkFCMo=;
 b=nk98pUTPLfohe/rWWBok9ltO+nsY2HZKaNaFt3W6utJ4/ljWYMJluGloA8oGfzqRYs
 1IYXh5OHL+O7iCJits0XdRGkz8RiHNCm8a/CZ5o8LGFk1+wK+nlOBQqQdmeMVT1BJY2/
 fQEpoU8lWlJNEXqTlbneWJEy3a8O4bfGLlTZzv5SxxonSHCtklH+GghoRGNP3XNWGBw2
 8Hz9humEKLLPqbsE+bcoAL56T1ApMhKrlTOHonuVJ9j6wpeEHH+Gqt67tUi+6fHX+m03
 GWZ8308Bzma8/xMVQ/+d2OqlA6jIEaJhsZh9BqaXWnD+3bgz3gFVPIOcD6s7YKHFI5Nt
 Vtlg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1749674541; x=1750279341;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=aF8LS+LPK5hKUr09eGscWoC5k2W06eAV7tjeVBkFCMo=;
 b=CthV0hr+PGSZ0RECHifsDK77kNRINBcfcNkxeHawzEhwtE7olx5/bm4lwwC6eac48a
 TLTXIpoXwIax97PddfebnRc9MOiCO/axHJqkmoxREAT/lo0EBZ9DaEgqZ10qIQCjVVzf
 VrMpJzVC8YWW+9ySdy3XV6IZ3PmHHZamR25yVc6PZ7a+pNYkKRHSJq5x7+vB36eynlxD
 qRXnupKww8JjQrVaDYgjTxRjWxjpIBiQdyr5KthVDMG3p7cv0j+NDnhjs+5iHGjKmto4
 x2waIR2Y/LETTnwSIgax75Szvfg++JUym8MVNFk2Q7Qke/THqBAW7X6PhCDfseiyKE4a
 y1FA==
X-Gm-Message-State: AOJu0Yz7F4hyT7j7NslnzcuRwW1HoxkSqPiwAFTPCKjt5AisWL+U5FmR
 Nut1u54nXh1J303AC4yGfZbMrJIIu045NCJ/LNyDuukGa4imtc0XFpTzOwybOA==
X-Gm-Gg: ASbGncunIb7qxzkKb6XOfzmoVAXZoUuL/Ela10Y1gJyLkcAcXh2NK35cGmgwC6LZhaj
 gLrwZ5vpQFIyIP9TNRtKbZfRVDPKxbxBHt/DnFeafb2r6wWAc+vLYCUev3vdFg0Npmx7ex5ZT1h
 yoMXg6Wlq+82Cch8IYQlyL1GIxBv+gQBZIhSu0a0Paa7il28yN2HmSz80A0+JHV4MlhKx3+rwh/
 B8FtgxAjaotALVXbhlpEyXWnH1fLy+LxFlAabWmcbQfQLUeKq5F0m7TmvU21EuF89A7WWu8zHZN
 ckPL2Jlkx2XjgVGgbSD8kY04qXe1dSvJgVJG9icgpp/7YyNdzAuV8Uyao+uMstFB/OQPBoH9qH4
 eaLEsTNV8vNppm89iFPRyoci2vhQRDTkiAS9rhcUj6fmZID3Jg2+8aXxmc160k81h1JWsHX5Mdu
 MzcVOHLPjQP8sFstk=
X-Google-Smtp-Source: AGHT+IEShSN6HrQ0AfT2RXx5BG/FWsVj/DDgzWQfMWYeoXUxdzbfA2BMQ7TpccRl9gpASvUDPV4LQw==
X-Received: by 2002:a05:6402:1d4a:b0:606:eb8e:d975 with SMTP id
 4fb4d7f45d1cf-6086a3f5f7cmr233264a12.0.1749674541197; 
 Wed, 11 Jun 2025 13:42:21 -0700 (PDT)
Received: from ArmedBeast.fritz.box
 (p200301023700450060f2a9d7350ce887.dip0.t-ipconnect.de.
 [2003:102:3700:4500:60f2:a9d7:350c:e887])
 by smtp.gmail.com with ESMTPSA id
 4fb4d7f45d1cf-6086b22a476sm106144a12.59.2025.06.11.13.42.20
 for <ffmpeg-devel@ffmpeg.org>
 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);
 Wed, 11 Jun 2025 13:42:20 -0700 (PDT)
From: Marvin Scholz <epirat07-at-gmail.com@ffmpeg.org>
To: ffmpeg-devel@ffmpeg.org
Date: Wed, 11 Jun 2025 22:42:11 +0200
Message-Id: <20250611204213.97295-2-epirat07@gmail.com>
X-Mailer: git-send-email 2.39.5 (Apple Git-154)
In-Reply-To: <20250611204213.97295-1-epirat07@gmail.com>
References: <20250611204213.97295-1-epirat07@gmail.com>
MIME-Version: 1.0
Subject: [FFmpeg-devel] [PATCH 2/4] fftools/textformat: remove noop free
X-BeenThere: ffmpeg-devel@ffmpeg.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org>
List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe>
List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel>
List-Post: <mailto:ffmpeg-devel@ffmpeg.org>
List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help>
List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe>
Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ffmpeg-devel-bounces@ffmpeg.org
Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/20250611204213.97295-2-epirat07@gmail.com/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>

The tctx->hash was freed already right before.
---
 fftools/textformat/avtextformat.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fftools/textformat/avtextformat.c b/fftools/textformat/avtextformat.c
index f1811abb1c..fa5abce261 100644
--- a/fftools/textformat/avtextformat.c
+++ b/fftools/textformat/avtextformat.c
@@ -108,8 +108,6 @@ int avtext_context_close(AVTextFormatContext **ptctx)
 
     av_hash_freep(&tctx->hash);
 
-    av_hash_freep(&tctx->hash);
-
     if (tctx->formatter) {
         if (tctx->formatter->uninit)
             ret = tctx->formatter->uninit(tctx);
-- 
2.39.5 (Apple Git-154)

_______________________________________________
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".