dmatest: fix use after free in dmatest_exit
authorDan Williams <dan.j.williams@intel.com>
Wed, 4 Mar 2009 23:06:03 +0000 (16:06 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 4 Mar 2009 23:06:03 +0000 (16:06 -0700)
dmatest_cleanup_chanel will free dtc, so grab ->chan before it goes away
and use it to do the release.

Reported-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>

No differences found