From: Derek Ou <derek@siconix.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] env_nand malloc not released
Date: Tue, 06 Jan 2009 12:03:48 -0700 [thread overview]
Message-ID: <4963AB14.9010508@siconix.com> (raw)
In-Reply-To: <495038A4.5000509@siconix.com>
Hi, all,
In the common/env_nand.c, function env_relocate_spec (for
CONFIG_ENV_OFFSET_REDUND) malloc two memory areas in line 296 and 297.
If it hits line 308 when both environment areas not found, it will
return without freeing the two memory areas. Is this a bug or I am
missing something?
Thanks,
Derek
next prev parent reply other threads:[~2009-01-06 19:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-23 1:02 [U-Boot] nand sector size is zero in jffs2 cmds Derek Ou
2008-12-23 21:44 ` Derek Ou
2009-01-24 0:53 ` Wolfgang Denk
2009-01-26 18:18 ` Derek Ou
2009-01-27 21:01 ` Wolfgang Denk
2009-01-06 19:03 ` Derek Ou [this message]
2009-01-07 22:15 ` [U-Boot] env_nand malloc not released Scott Wood
2009-01-24 0:53 ` Wolfgang Denk
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=4963AB14.9010508@siconix.com \
--to=derek@siconix.com \
--cc=u-boot@lists.denx.de \
/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