Skip to content
Commit 49ea3b04 authored by Elias Oltmanns's avatar Elias Oltmanns Committed by Jeff Garzik
Browse files

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: default avatarElias Oltmanns <eo@nebensachen.de>
Cc: Tejun Heo <tj@kernel.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 2486fa56
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment