From: David Bremner Date: Sat, 11 Jun 2016 16:22:11 +0000 (+2100) Subject: Re: [PATCH] lib: fix memory leak of field processor objects X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d0c91ff01a89d9b0af856e189fa35868d5962c5d;p=notmuch-archives.git Re: [PATCH] lib: fix memory leak of field processor objects --- diff --git a/e8/814e6b06c85f5be5bea08b44db49715e4caa89 b/e8/814e6b06c85f5be5bea08b44db49715e4caa89 new file mode 100644 index 000000000..4b897e855 --- /dev/null +++ b/e8/814e6b06c85f5be5bea08b44db49715e4caa89 @@ -0,0 +1,58 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 32F306DE01C2 + for ; Sat, 11 Jun 2016 09:22:23 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.011 +X-Spam-Level: +X-Spam-Status: No, score=-0.011 tagged_above=-999 required=5 + tests=[AWL=-0.000, 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 QfL3-ofLlfmH for ; + Sat, 11 Jun 2016 09:22:15 -0700 (PDT) +Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) + by arlo.cworth.org (Postfix) with ESMTPS id 627666DE01BE + for ; Sat, 11 Jun 2016 09:22:15 -0700 (PDT) +Received: from remotemail by fethera.tethera.net with local (Exim 4.84) + (envelope-from ) + id 1bBlfc-0005El-5M; Sat, 11 Jun 2016 12:22:00 -0400 +Received: (nullmailer pid 25476 invoked by uid 1000); + Sat, 11 Jun 2016 16:22:11 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: Re: [PATCH] lib: fix memory leak of field processor objects +In-Reply-To: <1465526268-9522-1-git-send-email-david@tethera.net> +References: <1465526268-9522-1-git-send-email-david@tethera.net> +User-Agent: Notmuch/0.22+28~gb9bf3f4 (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Sat, 11 Jun 2016 13:22:11 -0300 +Message-ID: <8737ojwv9o.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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: Sat, 11 Jun 2016 16:22:23 -0000 + +David Bremner writes: + +> The field processor objects need to be deallocated explicitly just like +> the range processors (or a talloc destructor defined). + +pushed to master + +d