intel-iommu: double kfree()
authorDan Carpenter <error27@gmail.com>
Sun, 19 Jul 2009 11:47:45 +0000 (14:47 +0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 20 Jul 2009 04:01:20 +0000 (05:01 +0100)
commit86f4d0123b1fddb47d35b9a893f8c0b94bf89abe
treef96b34958b8a1724fe91040324ad2b65d953e7d8
parent0db9b7aebb6a1c2bba2d0636ae0b1f9ef729c827
intel-iommu: double kfree()

g_iommus is freed after we "goto error;".

Found by smatch (http://repo.or.cz/w/smatch.git).

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/intel-iommu.c