mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
KMEM_TRACKING turned up a missing free in list test 6, fix the leak
This commit is contained in:
parent
15270e003e
commit
ae3b87f908
@ -332,6 +332,7 @@ splat_list_test6(struct file *file, void *arg)
|
||||
if (li->li_data % 2 == 1) {
|
||||
li_prev = list_prev(&list, li);
|
||||
list_remove(&list, li);
|
||||
kmem_free(li, sizeof(list_item_t));
|
||||
li = li_prev;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user