From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id E1E426DE2033 for ; Sun, 19 Feb 2017 13:43:40 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.005 X-Spam-Level: X-Spam-Status: No, score=-0.005 tagged_above=-999 required=5 tests=[AWL=0.006, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uKAcKF6HgvAD for ; Sun, 19 Feb 2017 13:43:38 -0800 (PST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id BE9E06DE2030 for ; Sun, 19 Feb 2017 13:43:38 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.84_2) (envelope-from ) id 1cfZFz-0006bw-Ux for notmuch@notmuchmail.org; Sun, 19 Feb 2017 16:42:59 -0500 Received: (nullmailer pid 12181 invoked by uid 1000); Sun, 19 Feb 2017 21:43:35 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: Re: [patch v5 2/6] lib: Let Xapian manage the memory for FieldProcessors In-Reply-To: <20170217030754.32069-3-david@tethera.net> References: <20170217030754.32069-1-david@tethera.net> <20170217030754.32069-3-david@tethera.net> Date: Sun, 19 Feb 2017 17:43:35 -0400 Message-ID: <87zihh6em0.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2017 21:43:41 -0000 David Bremner writes: > It turns out this is exactly what release() is for; Xapian will > deallocate the objects when it's done with them. pushed the first two of this series to master