From 93f56089898a1b27fc0c89b5c1c748291353f679 Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Thu, 9 Mar 2006 10:21:27 -0500 Subject: [PATCH] [SCSI] fix two leaks in scsi_alloc_sdev failure paths If the scsi_alloc_queue or the slave_alloc calls in scsi_alloc_device fail, we forget to release the locally allocated sdev on the failure path. Coverity #609 Signed-off-by: Dave Jones Signed-off-by: James Bottomley --- Reading git-format-patch failed