Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / e1 / 53e1a03de82a81c19c58a5614a92aa5a1fbd06
1 Return-Path: <polatel@gmail.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id DFF11429E21\r
6         for <notmuch@notmuchmail.org>; Mon,  3 Oct 2011 13:40:33 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"\r
9 X-Spam-Flag: NO\r
10 X-Spam-Score: -0.799\r
11 X-Spam-Level: \r
12 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
13         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
14         FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id Jg4N6WZg9jfb for <notmuch@notmuchmail.org>;\r
18         Mon,  3 Oct 2011 13:40:33 -0700 (PDT)\r
19 Received: from mail-dy0-f53.google.com (mail-dy0-f53.google.com\r
20         [209.85.220.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id F3D26431FB6\r
23         for <notmuch@notmuchmail.org>; Mon,  3 Oct 2011 13:40:32 -0700 (PDT)\r
24 Received: by dye4 with SMTP id 4so207787dye.26\r
25         for <notmuch@notmuchmail.org>; Mon, 03 Oct 2011 13:40:31 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
27         h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references\r
28         :in-reply-to:references:organization;\r
29         bh=KEbdSaoIzJCiUVqVAmtvI99G4hnhcJSuisQ7m4WZ6i4=;\r
30         b=whzllbX9W9gHNO2AK6lrkYvRAiLslnPXmMLmOV7slEpEhfMUmbalJPoR4T53GBAMw9\r
31         sT27ehZQaU5MKcbKKJCUuSQcYhnHojRja7ftosqOUqNHry2xmw9bwqs0segR86jijZ89\r
32         L4aL4OWFakDwTkbFWvvFzBk8o9GWPxD/CXJmo=\r
33 Received: by 10.223.41.153 with SMTP id o25mr463981fae.79.1317674417270;\r
34         Mon, 03 Oct 2011 13:40:17 -0700 (PDT)\r
35 Received: from localhost ([85.104.4.184])\r
36         by mx.google.com with ESMTPS id w14sm22622542fae.13.2011.10.03.13.40.15\r
37         (version=TLSv1/SSLv3 cipher=OTHER);\r
38         Mon, 03 Oct 2011 13:40:16 -0700 (PDT)\r
39 From: Ali Polatel <polatel@gmail.com>\r
40 To: Austin Clements <amdragon@MIT.EDU>\r
41 Subject: [PATCH v2 1/2] lib: destroy message object after message removal\r
42 Date: Mon,  3 Oct 2011 23:40:14 +0300\r
43 Message-Id:\r
44  <0c009ba81b80124a96915e3e270cb77d6f6d40b6.1317674063.git.alip@exherbo.org>\r
45 X-Mailer: git-send-email 1.7.6.1\r
46 In-Reply-To: <cover.1317674063.git.alip@exherbo.org>\r
47 References: <20111003203837.GA22365@hayalet>\r
48         <cover.1317674063.git.alip@exherbo.org>\r
49 In-Reply-To: <cover.1317674063.git.alip@exherbo.org>\r
50 References: <cover.1317674063.git.alip@exherbo.org>\r
51 Organization: Pink Floyd\r
52 Cc: Ali Polatel <alip@exherbo.org>,\r
53         Notmuch Mailing List <notmuch@notmuchmail.org>\r
54 X-BeenThere: notmuch@notmuchmail.org\r
55 X-Mailman-Version: 2.1.13\r
56 Precedence: list\r
57 List-Id: "Use and development of the notmuch mail system."\r
58         <notmuch.notmuchmail.org>\r
59 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
61 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
62 List-Post: <mailto:notmuch@notmuchmail.org>\r
63 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
64 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
65         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
66 X-List-Received-Date: Mon, 03 Oct 2011 20:40:34 -0000\r
67 \r
68 From: Ali Polatel <alip@exherbo.org>\r
69 \r
70 notmuch_database_remove_message() must call notmuch_message_destroy()\r
71 once it is done handling message removal.\r
72 ---\r
73  lib/database.cc |    2 ++\r
74  1 files changed, 2 insertions(+), 0 deletions(-)\r
75 \r
76 diff --git a/lib/database.cc b/lib/database.cc\r
77 index 9299c8d..d43e114 100644\r
78 --- a/lib/database.cc\r
79 +++ b/lib/database.cc\r
80 @@ -1769,6 +1769,8 @@ notmuch_database_remove_message (notmuch_database_t *notmuch,\r
81                 _notmuch_message_delete (message);\r
82             else if (status == NOTMUCH_STATUS_DUPLICATE_MESSAGE_ID)\r
83                 _notmuch_message_sync (message);\r
84 +\r
85 +           notmuch_message_destroy (message);\r
86      }\r
87  \r
88      return status;\r
89 -- \r
90 1.7.6.1\r
91 \r