mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
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:
parent
f200b83673
commit
71a3c9c45d
@ -94,6 +94,7 @@
|
||||
&((sub)->test_list), test_list) { \
|
||||
if (_test_->desc.id == tid) { \
|
||||
list_del_init(&(_test_->test_list)); \
|
||||
kfree(_test_); \
|
||||
_flag_ = 1; \
|
||||
} \
|
||||
} \
|
||||
|
Loading…
Reference in New Issue
Block a user