Axel Lin a844b43ca0 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 <axel.lin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-03-22 17:44:11 -07:00
..
2011-03-17 14:05:34 +01:00
2010-10-29 04:16:28 -04:00
2011-03-17 14:05:34 +01:00
2010-10-29 00:29:21 +02:00
2011-03-22 17:44:10 -07:00
2011-03-22 17:44:10 -07:00
2010-10-26 16:52:14 -07:00
2011-03-22 17:44:10 -07:00