Fix vmem leak in kmem_cache_test (missing splat_kmem_cache_test_kcp_free())

This commit is contained in:
Brian Behlendorf 2009-03-18 11:56:00 -07:00
parent 0cbaeb117a
commit f250d90b5f
1 changed files with 1 additions and 0 deletions

View File

@ -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);