diff options
| author | Minchan Kim <[email protected]> | 2010-01-11 16:15:53 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2010-03-03 16:42:42 -0800 |
| commit | 3bf040c75294ad9470b11902477e2c07af2031bd (patch) | |
| tree | 39c21380af91c3cbb7e111a35577cb6d54390830 /tools/perf/scripts/python | |
| parent | b76a32638d9d7d6b421fccce02e667007509bd7b (diff) | |
Staging: ramzswap: Free memory when create_device is failed
If create_device is failed, it can't free gendisk and request_queue of
preceding devices. It cause memory leak.
This patch fixes it.
Signed-off-by: Minchan Kim <[email protected]>
Acked-by: Nitin Gupta <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions