commit | 49ea3b04971ece6a5efe5d7b763ad9d2f169d441 | [log] [tgz] |
---|---|---|
author | Elias Oltmanns <eo@nebensachen.de> | Wed Jul 30 12:32:39 2008 -0700 |
committer | Jeff Garzik <jgarzik@redhat.com> | Thu Jul 31 01:47:12 2008 -0400 |
tree | 6dedd75ec55edd1ce2c30bb3a9b81e2e8efcb6e8 | |
parent | 2486fa561a3192bbbec39c7feef87a1e07bd6342 [diff] |
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>