From: Richard Miller <9fans@hamnavoe.com>
To: 9fans@9fans.net
Subject: Re: [9fans] test(1) -older bug?
Date: Mon, 3 Jun 2013 11:47:52 +0100 [thread overview]
Message-ID: <61e54edafc804ce595b89710afdce80b@hamnavoe.com> (raw)
In-Reply-To: <f9e98d63a812ffcfacc8863f84ccecb0@brasstown.quanstro.net>
>> its /n/sources/patch/testolder, also leaks dir in the case:
>>
>> if(rel)
>> n = time(0) - n;
>> if(n < 0)
>> return 0; <----- HERE
>> r = dir->mtime < n;
>>
>> free(dir);
>> return r;
And the consequences of not freeing a few bytes of memory, in a command
which will exit a few microseconds later, would be ... ?
next prev parent reply other threads:[~2013-06-03 10:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-01 21:15 arisawa
2013-06-01 21:59 ` erik quanstrom
2013-06-02 21:29 ` cinap_lenrek
2013-06-03 3:44 ` erik quanstrom
2013-06-03 10:47 ` Richard Miller [this message]
2013-06-03 11:00 ` arnold
2013-06-03 13:02 ` erik quanstrom
2013-06-03 11:08 ` Jacob Todd
2013-06-03 11:12 ` Richard Miller
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=61e54edafc804ce595b89710afdce80b@hamnavoe.com \
--to=9fans@hamnavoe.com \
--cc=9fans@9fans.net \
/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.
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 NNTP newsgroup(s).