From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by dcvr.yhbt.net (Postfix) with ESMTP id 9B9DB1F47C for ; Wed, 18 Jan 2023 19:17:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229926AbjARTRL (ORCPT ); Wed, 18 Jan 2023 14:17:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229946AbjARTRJ (ORCPT ); Wed, 18 Jan 2023 14:17:09 -0500 Received: from cloud.peff.net (cloud.peff.net [104.130.231.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CF1D17CCE for ; Wed, 18 Jan 2023 11:17:08 -0800 (PST) Received: (qmail 2753 invoked by uid 109); 18 Jan 2023 19:17:08 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.94) with ESMTP; Wed, 18 Jan 2023 19:17:08 +0000 Authentication-Results: cloud.peff.net; auth=none Received: (qmail 24097 invoked by uid 111); 18 Jan 2023 19:17:09 -0000 Received: from coredump.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.2) by peff.net (qpsmtpd/0.94) with (TLS_AES_256_GCM_SHA384 encrypted) ESMTPS; Wed, 18 Jan 2023 14:17:09 -0500 Authentication-Results: peff.net; auth=none Date: Wed, 18 Jan 2023 14:17:07 -0500 From: Jeff King To: =?utf-8?B?UmVuw6k=?= Scharfe Cc: =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason , git@vger.kernel.org, Junio C Hamano , Eric Sunshine Subject: Re: [PATCH v4 15/19] object-file.c: release the "tag" in check_tag() Message-ID: References: <7e571cdd-c0fa-7519-848c-b0bc4613abab@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Wed, Jan 18, 2023 at 07:54:41PM +0100, René Scharfe wrote: > > Yes, but it does so with lookup_commit(), so the resulting commit > > objects are themselves reachable from the usual obj_hash, and thus not > > leaked. > > The commit_list structures are leaked, no? Ah, yeah, you're right. -Peff