Fix vmem leak in kmem_cache_test (missing splat_kmem_cache_test_kcp_free())
This commit is contained in:
parent
0cbaeb117a
commit
f250d90b5f
|
@ -611,6 +611,7 @@ splat_kmem_cache_test(struct file *file, void *arg, char *name,
|
||||||
rc = -EINVAL;
|
rc = -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
splat_kmem_cache_test_kcp_free(kcp);
|
||||||
splat_vprint(file, name,
|
splat_vprint(file, name,
|
||||||
"Successfully ran ctors/dtors for %d elements in '%s'\n",
|
"Successfully ran ctors/dtors for %d elements in '%s'\n",
|
||||||
max, SPLAT_KMEM_CACHE_NAME);
|
max, SPLAT_KMEM_CACHE_NAME);
|
||||||
|
|
Loading…
Reference in New Issue