Fix crash in sceKernelDeleteHeap

This commit is contained in:
sum2012 2015-09-18 19:17:27 +08:00 committed by Henrik Rydgård
parent 52138f8ce8
commit e1ce6c061e

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, "");
}