From: David Bremner <david@tethera.net>
To: Ethan Glasser-Camp <glasse@cs.rpi.edu>, notmuch@notmuchmail.org
Cc: Ethan Glasser-Camp <ethan@betacantrips.com>
Subject: Re: [PATCH] Free the results of scandir()
Date: Tue, 14 Feb 2012 23:47:56 -0400 [thread overview]
Message-ID: <871upw3ggj.fsf@zancas.localnet> (raw)
In-Reply-To: <1328609103-7870-1-git-send-email-glasse@cs.rpi.edu>
On Tue, 7 Feb 2012 05:05:03 -0500, Ethan Glasser-Camp <glasse@cs.rpi.edu> wrote:
> From: Ethan Glasser-Camp <ethan@betacantrips.com>
>
> scandir() returns "strings allocated via malloc(3)" which are then
> "collected in array namelist which is allocated via
> malloc(3)". Currently we just free the array namelist. Instead, free
> all the entries of namelist, and then free namelist.
pushed, thanks
d
next prev parent reply other threads:[~2012-02-15 3:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-07 10:05 [PATCH] Free the results of scandir() Ethan Glasser-Camp
2012-02-07 10:10 ` Dmitry Kurochkin
2012-02-07 10:13 ` Ethan Glasser-Camp
2012-02-07 10:30 ` Tomi Ollila
2012-02-15 3:47 ` David Bremner [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-02-06 22:02 Ethan Glasser-Camp
2012-02-06 22:21 ` Jani Nikula
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871upw3ggj.fsf@zancas.localnet \
--to=david@tethera.net \
--cc=ethan@betacantrips.com \
--cc=glasse@cs.rpi.edu \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).