From: Ben Schmidt <mail_ben_schmidt@yahoo.com.au>
To: mlmmj@mlmmj.org
Subject: Re: PATCH: Memory leak appending original mail
Date: Tue, 16 Feb 2010 07:35:42 +0000 [thread overview]
Message-ID: <4B7A4ACE.8040607@yahoo.com.au> (raw)
In-Reply-To: <4B5EBDA6.7070501@yahoo.com.au>
> I looked at the code, and got thinking. Since the loop is only entered
> if str is not NULL, and str is only used inside the loop, couldn't we
> just free str inside the loop?
>
> Proposed patch attached.
Yeah, that works! Go for it!
Ben.
next prev parent reply other threads:[~2010-02-16 7:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-26 10:02 PATCH: Memory leak appending original mail Ben Schmidt
2010-02-03 4:02 ` Ben Schmidt
2010-02-16 6:15 ` Morten Shearman Kirkegaard
2010-02-16 7:35 ` Ben Schmidt [this message]
2010-02-16 17:00 ` Morten Shearman Kirkegaard
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=4B7A4ACE.8040607@yahoo.com.au \
--to=mail_ben_schmidt@yahoo.com.au \
--cc=mlmmj@mlmmj.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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.