diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2005-09-28 00:45:32 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-28 10:46:40 -0400 |
commit | f2d613799af915da1fd78463ba8ec5086a0d6f92 (patch) | |
tree | dba02c1108bd9e101ce4986c458a2fa2a400eb56 /drivers/cpufreq/cpufreq_powersave.c | |
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>
Diffstat (limited to 'drivers/cpufreq/cpufreq_powersave.c')
0 files changed, 0 insertions, 0 deletions