From: Martin Ettl Date: Sun, 21 Feb 2010 08:31:44 +0000 (+0100) Subject: scripts/dtc: Fix a resource leak X-Git-Tag: v2.6.36-rc1~545^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e8e1cc0a1c36c8ff156ac1f04a16422bd4ed3ac;p=pandora-kernel.git 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 Cc: David Gibson Signed-off-by: Michal Marek --- Reading git-diff-tree failed