Bug 15457 - [cppcheck] found a memory leak and a resource leak in linux-2.6/arch/um/os-Linux/mem.c
Summary: [cppcheck] found a memory leak and a resource leak in linux-2.6/arch/um/os-Li...
Status: RESOLVED CODE_FIX
Alias: None
Product: Other
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: other_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-06 12:31 UTC by Martin Ettl
Modified: 2012-07-05 15:48 UTC (History)
1 user (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments
fixes the resource and the memory leak (628 bytes, patch)
2010-03-06 12:31 UTC, Martin Ettl
Details | Diff

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

Note You need to log in before you can comment on or make changes to this bug.