commit | 31bd8fbb41b1fdf61f80e3e506574b43fad5e478 | [log] [tgz] |
---|---|---|
author | Libo Chen <clbchenlibo.chen@huawei.com> | Wed Jul 03 15:01:11 2013 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Jul 03 16:07:25 2013 -0700 |
tree | 56461ec00eedf7f200e10166e59624170f476eaf | |
parent | 4a184b4ff424e544359f081087723fc36efe603e [diff] |
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>