Bug 15456

Summary: [cppcheck] found a resource leak in linux-2.6/arch/um/drivers/xterm.c at line 126
Product: Drivers Reporter: Martin Ettl (ettl.martin)
Component: OtherAssignee: drivers_other
Status: RESOLVED CODE_FIX    
Severity: normal CC: alan
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.33 git head Subsystem:
Regression: No Bisected commit-id:
Attachments: fix

Description Martin Ettl 2010-03-06 12:01:12 UTC
Created attachment 25380 [details]
fix 

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 file linux-2.6/arch/um/drivers/xterm.c

Please refer the attached patch, that fixes the issue.

Best regards

Ettl Martin