Bug 15363

Summary: [cppcheck] found a resource leak in linux-2.6/scripts/dtc/fstree.c
Product: Other Reporter: Martin Ettl (ettl.martin)
Component: OtherAssignee: Michal Marek (mmarek)
Status: RESOLVED CODE_FIX    
Severity: normal CC: akpm
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6 git head Subsystem:
Regression: No Bisected commit-id:
Attachments: fix

Description Martin Ettl 2010-02-21 09:31:44 UTC
Created attachment 25141 [details]
fix 

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.

Best regards

Ettl Martin
Comment 1 Michal Marek 2010-12-16 10:12:14 UTC
Patch was merged in v2.6.37-rc1.