]> err.no Git - linux-2.6/commit
libata-core: make sure that ata_force_tbl is freed in case of an error
authorElias Oltmanns <eo@nebensachen.de>
Wed, 30 Jul 2008 19:32:39 +0000 (12:32 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 31 Jul 2008 05:47:12 +0000 (01:47 -0400)
commit49ea3b04971ece6a5efe5d7b763ad9d2f169d441
tree6dedd75ec55edd1ce2c30bb3a9b81e2e8efcb6e8
parent2486fa561a3192bbbec39c7feef87a1e07bd6342
libata-core: make sure that ata_force_tbl is freed in case of an error

Fix a potential memory leak when ata_init() encounters an error.

Signed-off-by: Elias Oltmanns <eo@nebensachen.de>
Cc: Tejun Heo <tj@kernel.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-core.c