Re: [PATCH v4 13/16] add indexopts to notmuch python bindings.
[notmuch-archives.git] / 37 / ab8596157d058d6330c2b3c10c126f1ba2808d
1 Return-Path: <novalazy@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 C63C8431E64\r
6         for <notmuch@notmuchmail.org>; Fri, 30 Mar 2012 16:16:09 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.799\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id syEaFXsZaNUl for <notmuch@notmuchmail.org>;\r
17         Fri, 30 Mar 2012 16:16:09 -0700 (PDT)\r
18 Received: from mail-pz0-f45.google.com (mail-pz0-f45.google.com\r
19         [209.85.210.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 5E3E6431FAE\r
22         for <notmuch@notmuchmail.org>; Fri, 30 Mar 2012 16:16:09 -0700 (PDT)\r
23 Received: by dacx6 with SMTP id x6so56814dac.18\r
24         for <notmuch@notmuchmail.org>; Fri, 30 Mar 2012 16:16:08 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
26         h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;\r
27         bh=mkSjrE63V0UO6LxveJEQlNNV/Rp+LMoxf9IM3FkxXPs=;\r
28         b=BzuffVk9hhWeHRmoGISNCo97BbdKQR9vCT144s4EEUEPN8xxPVc0ahWQWlvA4vRl0B\r
29         lNsLdoPdVFTpZFguvm9FB6eRFWX5qkkQxsRXqaz/eKCkkJ0R32VGt/TD5mcKNcSEThTE\r
30         w8pRUqzYiVc/wWnPKTH2RX1I6RuZqzVfgNnvWLCSSmeqKqM4Y792/vbRUtpmhICHbj6p\r
31         5ycQW3n9EcwFNCScyOz+lfT0KnaKirO/itpeSET0WqTZ4rK2F1m5A+53rV0FwO64mPFP\r
32         RVC4GShPFQOWfwVYORWqWbWYKlxZJHrpaXEHo+QZRzu0KxrdIbZGiLnfjaCj5KWlHtna\r
33         H0rg==\r
34 Received: by 10.68.194.198 with SMTP id hy6mr1491829pbc.0.1333149368598;\r
35         Fri, 30 Mar 2012 16:16:08 -0700 (PDT)\r
36 Received: from localhost (215.42.233.220.static.exetel.com.au.\r
37         [220.233.42.215])\r
38         by mx.google.com with ESMTPS id v9sm490955pbn.17.2012.03.30.16.16.05\r
39         (version=TLSv1/SSLv3 cipher=OTHER);\r
40         Fri, 30 Mar 2012 16:16:07 -0700 (PDT)\r
41 From: Peter Wang <novalazy@gmail.com>\r
42 To: notmuch@notmuchmail.org\r
43 Subject: [PATCH v2 1/5] config: Fix free in 'config get' implementation.\r
44 Date: Sat, 31 Mar 2012 10:15:46 +1100\r
45 Message-Id: <1333149350-22616-2-git-send-email-novalazy@gmail.com>\r
46 X-Mailer: git-send-email 1.7.4.4\r
47 In-Reply-To: <1333149350-22616-1-git-send-email-novalazy@gmail.com>\r
48 References: <1332282698-7951-1-git-send-email-novalazy@gmail.com>\r
49         <1333149350-22616-1-git-send-email-novalazy@gmail.com>\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Fri, 30 Mar 2012 23:16:09 -0000\r
63 \r
64 The array returned by g_key_file_get_string_list() should be freed with\r
65 g_strfreev(), not free().\r
66 ---\r
67  notmuch-config.c |    2 +-\r
68  1 files changed, 1 insertions(+), 1 deletions(-)\r
69 \r
70 diff --git a/notmuch-config.c b/notmuch-config.c\r
71 index e9b2750..85fc774 100644\r
72 --- a/notmuch-config.c\r
73 +++ b/notmuch-config.c\r
74 @@ -751,7 +751,7 @@ notmuch_config_command_get (void *ctx, char *item)\r
75         for (i = 0; i < length; i++)\r
76             printf ("%s\n", value[i]);\r
77  \r
78 -       free (value);\r
79 +       g_strfreev (value);\r
80      }\r
81  \r
82      notmuch_config_close (config);\r
83 -- \r
84 1.7.4.4\r
85 \r