[*] Trivial fail condition leak

This commit is contained in:
Reece Wilson 2022-08-16 23:58:18 +01:00
parent 08ff087f42
commit 7be001eb61

View File

@ -205,6 +205,7 @@ namespace Aurora::Memory
auto ret = AuMakeShared<DeletableHeap>(heap, ptr);
if (!ret)
{
heap->Free(ptr);
return {};
}