]> git.hungrycats.org Git - linux/commit
[PATCH] Memory leak in scsi_debug found by checker
authorFelipe Damasio <felipewd@terra.com.br>
Thu, 25 Sep 2003 07:57:54 +0000 (02:57 -0500)
committerJames Bottomley <jejb@raven.il.steeleye.com>
Thu, 25 Sep 2003 07:57:54 +0000 (02:57 -0500)
commitc16e5061c968ec7e7cf164cfe387ac1938979815
tree33eed8f8fbb0fdeff452456c63748591ba003a4d
parent9865adc31b79eedaebed79f7e00fe732fb4e4380
[PATCH] Memory leak in scsi_debug found by checker

    If in the middle of loop a kmalloc failed, that means that the
previous calls succeeded..so they must be also be freed (and removed
from the dev_info_list).
drivers/scsi/scsi_debug.c