linux/scripts/dtc
Martin Ettl 5e8e1cc0a1 scripts/dtc: Fix a resource leak
during a check of the current git head of the linux kernel with the
static code analysis tool cppcheck
(http://sourceforge.net/apps/mediawiki/cppcheck/index.php?title=Main_Page)
the tool discovered a resource leak in linux-2.6/scripts/dtc/fstree.c.

Please refer the attached patch, that fixes the issue.

Fixes https://bugzilla.kernel.org/show_bug.cgi?id=15363
Signed-off-by: Martin Ettl <ettl.martin@gmx.de>
Cc: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2010-07-02 13:51:11 +02:00
..
libfdt dtc: Mark various internal functions static 2009-11-15 15:01:41 -08:00
.gitignore powerpc: Have git ignore generated files from dtc compile 2009-06-26 14:37:23 +10:00
checks.c
data.c dtc: Mark various internal functions static 2009-11-15 15:01:41 -08:00
dtc-lexer.l dtc: Set "noinput" in the lexer to avoid an unused function 2009-11-15 15:01:41 -08:00
dtc-lexer.lex.c_shipped dtc: Set "noinput" in the lexer to avoid an unused function 2009-11-15 15:01:41 -08:00
dtc-parser.tab.c_shipped
dtc-parser.tab.h_shipped
dtc-parser.y
dtc.c
dtc.h
flattree.c
fstree.c scripts/dtc: Fix a resource leak 2010-07-02 13:51:11 +02:00
livetree.c
Makefile
Makefile.dtc
srcpos.c
srcpos.h
treesource.c dtc: Mark various internal functions static 2009-11-15 15:01:41 -08:00
version_gen.h