summaryrefslogtreecommitdiff
path: root/drivers/virtio
diff options
context:
space:
mode:
authorMinchan Kim <minchan.kim@gmail.com>2010-01-11 16:15:53 +0900
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-03 16:42:42 -0800
commit3bf040c75294ad9470b11902477e2c07af2031bd (patch)
tree39c21380af91c3cbb7e111a35577cb6d54390830 /drivers/virtio
parentb76a32638d9d7d6b421fccce02e667007509bd7b (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 <minchan.kim@gmail.com> Acked-by: Nitin Gupta <ngupta@vflare.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions