[*] Trivial fail condition leak
This commit is contained in:
parent
08ff087f42
commit
7be001eb61
@ -205,6 +205,7 @@ namespace Aurora::Memory
|
||||
auto ret = AuMakeShared<DeletableHeap>(heap, ptr);
|
||||
if (!ret)
|
||||
{
|
||||
heap->Free(ptr);
|
||||
return {};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user