diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2005-09-27 21:45:32 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-28 07:46:40 -0700 |
commit | f2d613799af915da1fd78463ba8ec5086a0d6f92 (patch) | |
tree | dba02c1108bd9e101ce4986c458a2fa2a400eb56 /fs | |
parent | 254b54771cc4c00002f796be65d2885191dca9dc (diff) | |
download | op-kernel-dev-f2d613799af915da1fd78463ba8ec5086a0d6f92.zip op-kernel-dev-f2d613799af915da1fd78463ba8ec5086a0d6f92.tar.gz |
[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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions