From 266a989a59ca83b69785167dee50a97511da9862 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Tue, 26 Apr 2016 15:16:16 +2100 Subject: [PATCH] Re: notmuch-0.21 bug report --- 34/337613db1cd6096064d7e5a2a9b6c395beac61 | 81 +++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 34/337613db1cd6096064d7e5a2a9b6c395beac61 diff --git a/34/337613db1cd6096064d7e5a2a9b6c395beac61 b/34/337613db1cd6096064d7e5a2a9b6c395beac61 new file mode 100644 index 000000000..468f88dd4 --- /dev/null +++ b/34/337613db1cd6096064d7e5a2a9b6c395beac61 @@ -0,0 +1,81 @@ +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 9A2AE6DE00DF + for ; Mon, 25 Apr 2016 11:16:29 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.016 +X-Spam-Level: +X-Spam-Status: No, score=-0.016 tagged_above=-999 required=5 + tests=[AWL=-0.005, 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 2RtKm0ZV91yx for ; + Mon, 25 Apr 2016 11:16:21 -0700 (PDT) +Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) + by arlo.cworth.org (Postfix) with ESMTPS id B44DE6DE00C9 + for ; Mon, 25 Apr 2016 11:16:21 -0700 (PDT) +Received: from remotemail by fethera.tethera.net with local (Exim 4.84) + (envelope-from ) + id 1aul3Z-0001oH-Iz; Mon, 25 Apr 2016 14:16:25 -0400 +Received: (nullmailer pid 3305 invoked by uid 1000); + Mon, 25 Apr 2016 18:16:16 -0000 +From: David Bremner +To: David Binderman , + "notmuch@notmuchmail.org" +Subject: Re: notmuch-0.21 bug report +In-Reply-To: +References: +User-Agent: Notmuch/0.21+99~gd93d377 (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Mon, 25 Apr 2016 15:16:16 -0300 +Message-ID: <87wpnlbllb.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable +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: Mon, 25 Apr 2016 18:16:29 -0000 + + +David Binderman writes: + +> Hello there, +> +> [notmuch-count.c:207]: (error) Resource leak: input +> +> Source code is +> +> =C2=A0=C2=A0 if (notmuch_database_open (notmuch_config_get_database_path = +(config), +> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 NOTMUCH_DATABASE_MODE_READ_ONLY, ¬m= +uch)) +> =C2=A0=C2=A0=C2=A0 return EXIT_FAILURE; +> +> Suggest call fclose. +> +> Some duplicates: +> +> [notmuch-count.c:214]: (error) Resource leak: input +> [notmuch-count.c:202]: (error) Resource leak: input + +Hi David; + +Thanks for the report. fclose doesn't really make sense here; what is +that error message from? + +d -- 2.26.2