Hello, This patch fixes a potential memory leak in scsi_alloc_sdev. If slave_alloc kmallocs memory and the get_device() (around line 245) fails then we goto the error path. The error path never calls slave_destroy. This patch fixes this problem. mh -- Martin Hicks Wild Open Source Inc. mort@wildopensource.com 613-266-2296