diff options
| author | Axel Lin <[email protected]> | 2011-03-22 16:34:01 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-03-22 17:44:11 -0700 |
| commit | a844b43ca078d7dd8f0cd13c6f030ec62a996975 (patch) | |
| tree | c74c3ffe40ae31026e69e916ecaec29f5b239982 /tools/perf/scripts/python/netdev-times.py | |
| parent | 6f7d485e13c6c07348cf9cfd1b735fe1bcf3caa9 (diff) | |
drivers/misc/atmel_tclib.c: fix a memory leak
request_mem_region() will call kzalloc to allocate memory for struct
resource. release_resource() unregisters the resource but does not free
the allocated memory, thus use release_mem_region() instead to fix the
memory leak.
Signed-off-by: Axel Lin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions