Fix splat memleak

SPLAT_TEST_FINI didn't call kfree causing memleak.

Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
This commit is contained in:
Chunwei Chen 2016-12-15 11:12:50 -08:00 committed by Brian Behlendorf
parent f200b83673
commit 71a3c9c45d

View File

@ -94,6 +94,7 @@
&((sub)->test_list), test_list) { \
if (_test_->desc.id == tid) { \
list_del_init(&(_test_->test_list)); \
kfree(_test_); \
_flag_ = 1; \
} \
} \