1 Return-Path: <tomi.ollila@iki.fi>
\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 44DB6431FB6
\r
6 for <notmuch@notmuchmail.org>; Tue, 7 Feb 2012 02:30:19 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0.01 tagged_above=-999 required=5
\r
12 tests=[T_MIME_NO_TEXT=0.01] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id oA+Z4U1gZX8w for <notmuch@notmuchmail.org>;
\r
16 Tue, 7 Feb 2012 02:30:18 -0800 (PST)
\r
17 Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 7DA50431FAE
\r
19 for <notmuch@notmuchmail.org>; Tue, 7 Feb 2012 02:30:18 -0800 (PST)
\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
21 id 5487268055; Tue, 7 Feb 2012 12:30:17 +0200 (EET)
\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
23 To: Ethan Glasser-Camp <glasse@cs.rpi.edu>, notmuch@notmuchmail.org
\r
24 Subject: Re: [PATCH] Free the results of scandir()
\r
25 In-Reply-To: <1328609103-7870-1-git-send-email-glasse@cs.rpi.edu>
\r
26 References: <1328609103-7870-1-git-send-email-glasse@cs.rpi.edu>
\r
27 User-Agent: Notmuch/0.11.1+164~g6619341 (http://notmuchmail.org) Emacs/23.3.1
\r
28 (x86_64-unknown-linux-gnu)
\r
29 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
30 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
31 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
32 Date: Tue, 07 Feb 2012 12:30:12 +0200
\r
33 Message-ID: <m239an6imj.fsf@guru.guru-group.fi>
\r
35 Content-Type: multipart/signed; boundary="=-=-=";
\r
36 micalg=pgp-sha1; protocol="application/pgp-signature"
\r
37 Cc: Ethan Glasser-Camp <ethan@betacantrips.com>
\r
38 X-BeenThere: notmuch@notmuchmail.org
\r
39 X-Mailman-Version: 2.1.13
\r
41 List-Id: "Use and development of the notmuch mail system."
\r
42 <notmuch.notmuchmail.org>
\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
46 List-Post: <mailto:notmuch@notmuchmail.org>
\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
50 X-List-Received-Date: Tue, 07 Feb 2012 10:30:19 -0000
\r
53 Content-Transfer-Encoding: quoted-printable
\r
55 On Tue, 7 Feb 2012 05:05:03 -0500, Ethan Glasser-Camp <glasse@cs.rpi.edu> =
\r
57 > From: Ethan Glasser-Camp <ethan@betacantrips.com>
\r
59 > scandir() returns "strings allocated via malloc(3)" which are then
\r
60 > "collected in array namelist which is allocated via
\r
61 > malloc(3)". Currently we just free the array namelist. Instead, free
\r
62 > all the entries of namelist, and then free namelist.
\r
64 > entry only points to elements of namelist, so we don't free it
\r
73 Content-Type: application/pgp-signature
\r
75 -----BEGIN PGP SIGNATURE-----
\r
76 Version: GnuPG v1.4.5 (GNU/Linux)
\r
78 iD8DBQFPMP05oEBNrhe2D3URAtIiAJsH3W1dFLa7XkPHOJa0VSBgASz4GQCgmHAo
\r
79 SV1oWmyyaPivI+D9cS2+Sik=
\r
81 -----END PGP SIGNATURE-----
\r