Bug 15457

Summary: [cppcheck] found a memory leak and a resource leak in linux-2.6/arch/um/os-Linux/mem.c
Product: Other Reporter: Martin Ettl (ettl.martin)
Component: OtherAssignee: other_other
Status: RESOLVED CODE_FIX    
Severity: normal CC: alan
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:
Attachments: fixes the resource and the memory leak

Description Martin Ettl 2010-03-06 12:31:48 UTC
Created attachment 25382 [details]
fixes the resource and the memory leak

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/arch/um/os-Linux/mem.c

Please refer the attached patch, that fixes the issue.

Best regards

Ettl Martin