diff --git a/module/splat/splat-kmem.c b/module/splat/splat-kmem.c index f12cd34b38..f7ea580042 100644 --- a/module/splat/splat-kmem.c +++ b/module/splat/splat-kmem.c @@ -611,6 +611,7 @@ splat_kmem_cache_test(struct file *file, void *arg, char *name, rc = -EINVAL; } + splat_kmem_cache_test_kcp_free(kcp); splat_vprint(file, name, "Successfully ran ctors/dtors for %d elements in '%s'\n", max, SPLAT_KMEM_CACHE_NAME);