Ignore decommits for now.
This commit is contained in:
parent
929ea13548
commit
8294f22d76
|
@ -141,6 +141,11 @@ X_STATUS xeNtFreeVirtualMemory(
|
||||||
return X_STATUS_MEMORY_NOT_ALLOCATED;
|
return X_STATUS_MEMORY_NOT_ALLOCATED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO(benvanik): ignore decommits for now.
|
||||||
|
if (free_type == X_MEM_DECOMMIT) {
|
||||||
|
return X_STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
// Free.
|
// Free.
|
||||||
uint32_t flags = 0;
|
uint32_t flags = 0;
|
||||||
uint32_t freed_size = xe_memory_heap_free(state->memory(), *base_addr_ptr,
|
uint32_t freed_size = xe_memory_heap_free(state->memory(), *base_addr_ptr,
|
||||||
|
|
Loading…
Reference in New Issue