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

View File

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