From be8e2b7ce3f80d41bd3b963814dcc4b619907a01 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Wed, 25 Apr 2012 23:29:27 +2100 Subject: [PATCH] Re: [PATCH v4 1/6] config: Fix free in 'config get' implementation. --- ff/84b6a3228448937063f92057e2b1dbd6a53a00 | 65 +++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 ff/84b6a3228448937063f92057e2b1dbd6a53a00 diff --git a/ff/84b6a3228448937063f92057e2b1dbd6a53a00 b/ff/84b6a3228448937063f92057e2b1dbd6a53a00 new file mode 100644 index 000000000..400aa4e13 --- /dev/null +++ b/ff/84b6a3228448937063f92057e2b1dbd6a53a00 @@ -0,0 +1,65 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 170BD431FC2 + for ; Tue, 24 Apr 2012 19:29:36 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id Cd3Ulvb6Idd9 for ; + Tue, 24 Apr 2012 19:29:35 -0700 (PDT) +Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238]) + (using TLSv1 with cipher AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id A1A72431FAE + for ; Tue, 24 Apr 2012 19:29:35 -0700 (PDT) +Received: from fctnnbsc30w-156034089108.dhcp-dynamic.fibreop.nb.bellaliant.net + ([156.34.89.108] helo=zancas.localnet) + by tesseract.cs.unb.ca with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) + (Exim 4.72) (envelope-from ) + id 1SMrz4-0000DE-Da; Tue, 24 Apr 2012 23:29:34 -0300 +Received: from bremner by zancas.localnet with local (Exim 4.77) + (envelope-from ) + id 1SMryx-00059p-Vc; Tue, 24 Apr 2012 23:29:27 -0300 +From: David Bremner +To: Peter Wang , notmuch@notmuchmail.org +Subject: Re: [PATCH v4 1/6] config: Fix free in 'config get' implementation. +In-Reply-To: <1334367666-10954-2-git-send-email-novalazy@gmail.com> +References: <1332282698-7951-1-git-send-email-novalazy@gmail.com> + <1334367666-10954-1-git-send-email-novalazy@gmail.com> + <1334367666-10954-2-git-send-email-novalazy@gmail.com> +User-Agent: Notmuch/0.12+113~gde05574 (http://notmuchmail.org) Emacs/23.4.1 + (x86_64-pc-linux-gnu) +Date: Tue, 24 Apr 2012 23:29:27 -0300 +Message-ID: <87haw8wnlk.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +X-Spam_bar: - +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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: Wed, 25 Apr 2012 02:29:36 -0000 + +Peter Wang writes: + +> The array returned by g_key_file_get_string_list() should be freed with +> g_strfreev(), not free(). + +Pushed this one patch from the series. + +d -- 2.26.2