aboutsummaryrefslogtreecommitdiffstats
path: root/module/splat
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-01-20 12:47:53 -0800
committerBrian Behlendorf <[email protected]>2009-01-20 12:47:53 -0800
commitae3b87f908fe67f8be739b7f7c71bb5fdd742552 (patch)
treed589671be1d461c85281136d3c34173e210ad1b1 /module/splat
parent15270e003ed666ad965ab9f73b390846823998fd (diff)
KMEM_TRACKING turned up a missing free in list test 6, fix the leak
Diffstat (limited to 'module/splat')
-rw-r--r--module/splat/splat-list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/splat/splat-list.c b/module/splat/splat-list.c
index 3d435cad0..464a45781 100644
--- a/module/splat/splat-list.c
+++ b/module/splat/splat-list.c
@@ -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;
}
}