]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
iop-adma, mv_xor: fix mem leak on self-test setup failure
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 25 Feb 2009 12:56:21 +0000 (13:56 +0100)
committerDan Williams <dan.j.williams@intel.com>
Wed, 4 Mar 2009 23:04:40 +0000 (16:04 -0700)
commita09b09ae51ace43d28cd9bc1c8bb97986f2b55a6
treea70862b01fc038b92067faf13f623ce5b9492105
parent900325a6ce33995688b7a680a34e7698f16f4d72
iop-adma, mv_xor: fix mem leak on self-test setup failure

iop_adma_zero_sum_self_test has the brackets in the wrong place for the
setup failure deallocation path.  This error was duplicated in
mv_xor_xor_self_test.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/iop-adma.c
drivers/dma/mv_xor.c