commit | 7cbd4877e5b167b56a3d6033b926a9f925186e12 | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Wed Mar 04 16:06:03 2009 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Wed Mar 04 16:06:03 2009 -0700 |
tree | 03dbe000fa5086d07df0fcae8d9ac1534bd3d239 | |
parent | c74ef1f867d18171c8617519ee5fe40b02903934 [diff] |
dmatest: fix use after free in dmatest_exit 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>