diff options
author | Libo Chen <clbchenlibo.chen@huawei.com> | 2013-07-04 00:01:11 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-04 01:07:25 +0200 |
commit | 31bd8fbb41b1fdf61f80e3e506574b43fad5e478 (patch) | |
tree | 56461ec00eedf7f200e10166e59624170f476eaf /block/compat_ioctl.c | |
parent | ocfs2: fix NULL pointer dereference when traversing o2hb_all_regions (diff) | |
download | linux-31bd8fbb41b1fdf61f80e3e506574b43fad5e478.tar.xz linux-31bd8fbb41b1fdf61f80e3e506574b43fad5e478.zip |
drivers/cdrom/gdrom.c: fix device number leak
Without this patch, gdrom_major will leak when gd.cd_info alloc fails.
Signed-off-by: Libo Chen <libo.chen@huawei.com>
Cc: Jens Axboe <axboe@kernel.dk>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions