Bug 15437

Summary: [cppcheck] found a resource leak in linux-2.6/scripts/genksyms/genksyms.c
Product: Other Reporter: Martin Ettl (ettl.martin)
Component: ModulesAssignee: other_modules
Status: RESOLVED OBSOLETE    
Severity: normal CC: akpm, alan
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: current git 2.6.33 Subsystem:
Regression: No Bisected commit-id:
Attachments: fix
modified patch

Description Martin Ettl 2010-03-03 20:30:31 UTC
Created attachment 25344 [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 linux-2.6/scripts/genksyms/genksyms.c

Please refer the attached patch, that fixes the issue.

Best regards

Ettl Martin
Comment 1 Andrew Morton 2010-03-03 20:38:24 UTC
Please send patches via email, as per Documentation/SubmittingPatches, thanks.
Comment 2 Martin Ettl 2010-03-06 12:23:25 UTC
Created attachment 25381 [details]
modified patch