linux-sg2042/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
Makefile Move dtc and libfdt sources from arch/powerpc/boot to scripts/dtc 2009-05-02 16:52:26 -07:00
Makefile.dtc Move dtc and libfdt sources from arch/powerpc/boot to scripts/dtc 2009-05-02 16:52:26 -07:00
checks.c Move dtc and libfdt sources from arch/powerpc/boot to scripts/dtc 2009-05-02 16:52:26 -07:00
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 Move dtc and libfdt sources from arch/powerpc/boot to scripts/dtc 2009-05-02 16:52:26 -07:00
dtc-parser.tab.h_shipped Move dtc and libfdt sources from arch/powerpc/boot to scripts/dtc 2009-05-02 16:52:26 -07:00
dtc-parser.y Move dtc and libfdt sources from arch/powerpc/boot to scripts/dtc 2009-05-02 16:52:26 -07:00
dtc.c Move dtc and libfdt sources from arch/powerpc/boot to scripts/dtc 2009-05-02 16:52:26 -07:00
dtc.h Move dtc and libfdt sources from arch/powerpc/boot to scripts/dtc 2009-05-02 16:52:26 -07:00
flattree.c Move dtc and libfdt sources from arch/powerpc/boot to scripts/dtc 2009-05-02 16:52:26 -07:00
fstree.c scripts/dtc: Fix a resource leak 2010-07-02 13:51:11 +02:00
livetree.c Move dtc and libfdt sources from arch/powerpc/boot to scripts/dtc 2009-05-02 16:52:26 -07:00
srcpos.c Move dtc and libfdt sources from arch/powerpc/boot to scripts/dtc 2009-05-02 16:52:26 -07:00
srcpos.h Move dtc and libfdt sources from arch/powerpc/boot to scripts/dtc 2009-05-02 16:52:26 -07:00
treesource.c dtc: Mark various internal functions static 2009-11-15 15:01:41 -08:00
version_gen.h Move dtc and libfdt sources from arch/powerpc/boot to scripts/dtc 2009-05-02 16:52:26 -07:00