Fix crash in sceKernelDeleteHeap

This commit is contained in:
sum2012 authored and Henrik Rydgård committed 2020-04-26 11:18:41 +02:00
1 parent 52138f8ce8
commit e1ce6c061e
1 file changed
-1
-1
View File
@@ -2377,7 +2377,6 @@ static int sceKernelDeleteHeap(int heapId)
userMemory.Free(heap->address);
kernelObjects.Destroy<FPL>(heap->uid);
heapInformationList.erase(heapId);
delete heap;
return hleLogError(SCEKERNEL, 0, "");
}