diff --git a/src/system/kernel/vm/vm_cache.c b/src/system/kernel/vm/vm_cache.c index f73f548aac..949b1ba2ce 100644 --- a/src/system/kernel/vm/vm_cache.c +++ b/src/system/kernel/vm/vm_cache.c @@ -126,8 +126,8 @@ vm_cache_ref_create(vm_cache *cache) return NULL; if (mutex_init(&ref->lock, "cache_ref_mutex") < B_OK) { - free(ref); - return NULL; +// free(ref); +// return NULL; } ref->areas = NULL;