[PATCH] swsusp: fix memory leaks
authorAndrew Morton <akpm@osdl.org>
Tue, 17 Oct 2006 07:09:59 +0000 (00:09 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 17 Oct 2006 15:18:44 +0000 (08:18 -0700)
commitc60099bfe3a5e6fa22a930627689b3769c52153f
tree477a477f6260da7c9c7871c266205d2212e17a2c
parent1fec74a9cda95772887c82ede5c0ac60f5be857e
[PATCH] swsusp: fix memory leaks

My fancy new swsusp IO code had a big memory leak.  It's somewhat invisible
because the whole mem_map[] gets overwritten after resume, but it can cause us
to get low on memory during the actual suspend process.

Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/power/swap.c