android_kernel_xiaomi_sm8350/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
.gitignore
checks.c
data.c
dtc-lexer.l
dtc-lexer.lex.c_shipped
dtc-parser.tab.c_shipped
dtc-parser.tab.h_shipped
dtc-parser.y
dtc.c
dtc.h
flattree.c
fstree.c
livetree.c
Makefile
Makefile.dtc
srcpos.c
srcpos.h
treesource.c
version_gen.h