From: Arkadiusz Miskiewicz <arekm@maven.pl>
To: xfs@oss.sgi.com
Subject: Re: libattr - severe memory leaks from attr_copy_file()
Date: Tue, 17 Feb 2009 13:04:18 +0100 [thread overview]
Message-ID: <200902171304.18661.arekm@maven.pl> (raw)
In-Reply-To: <499AA47A.2050106@redhat.com>
On Tuesday 17 of February 2009, Zdenek Prikryl wrote:
> - free(text);
> + if (text)
> + free(text);
free(NULL) is fine (on Linux at least)
--
Arkadiusz Miśkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2009-02-17 12:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-17 11:50 libattr - severe memory leaks from attr_copy_file() Zdenek Prikryl
2009-02-17 12:04 ` Arkadiusz Miskiewicz [this message]
2009-02-18 7:08 ` Timothy Shimmin
-- strict thread matches above, loose matches on Subject: below --
2009-02-19 7:04 Zdenek Prikryl
2009-02-19 16:31 ` Eric Sandeen
2009-02-20 0:33 ` Timothy Shimmin
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=200902171304.18661.arekm@maven.pl \
--to=arekm@maven.pl \
--cc=xfs@oss.sgi.com \
/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