commit | f2d613799af915da1fd78463ba8ec5086a0d6f92 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rjw@sisk.pl> | Tue Sep 27 21:45:32 2005 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Wed Sep 28 07:46:40 2005 -0700 |
tree | dba02c1108bd9e101ce4986c458a2fa2a400eb56 | |
parent | 254b54771cc4c00002f796be65d2885191dca9dc [diff] |
[PATCH] swsusp: prevent possible memory leak Prevent swsusp from leaking some memory in case of an error in read_pagedir(). It also prevents the BUG_ON() from triggering if there's an error while reading swap. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>