diff options
author | Rafael J. Wysocki | 2013-12-30 01:53:57 +0100 |
---|---|---|
committer | Rafael J. Wysocki | 2013-12-30 01:53:57 +0100 |
commit | fbd22402164e687fd1be9a1372ee4f6b9373c860 (patch) | |
tree | fd86c8b2f8ed120a2229a1de7959f0d4e56c8008 /kernel/power | |
parent | PM / Sleep: Add macro to define common late/early system PM callbacks (diff) | |
parent | PM / sleep: Fix memory leak in pm_vt_switch_unregister(). (diff) | |
download | kernel-qcow2-linux-fbd22402164e687fd1be9a1372ee4f6b9373c860.tar.gz kernel-qcow2-linux-fbd22402164e687fd1be9a1372ee4f6b9373c860.tar.xz kernel-qcow2-linux-fbd22402164e687fd1be9a1372ee4f6b9373c860.zip |
Merge back earlier 'pm-sleep' material.
Diffstat (limited to 'kernel/power')
-rw-r--r-- | kernel/power/console.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/power/console.c b/kernel/power/console.c index 463aa6736751..eacb8bd8cab4 100644 --- a/kernel/power/console.c +++ b/kernel/power/console.c @@ -81,6 +81,7 @@ void pm_vt_switch_unregister(struct device *dev) list_for_each_entry(tmp, &pm_vt_switch_list, head) { if (tmp->dev == dev) { list_del(&tmp->head); + kfree(tmp); break; } } |