From e1ce6c061eeb2092e66a5c2f090cb960ce2977d1 Mon Sep 17 00:00:00 2001 From: sum2012 Date: Fri, 18 Sep 2015 19:17:27 +0800 Subject: [PATCH] Fix crash in sceKernelDeleteHeap --- Core/HLE/sceKernelMemory.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Core/HLE/sceKernelMemory.cpp b/Core/HLE/sceKernelMemory.cpp index f08b2cf25a..44c193851c 100644 --- a/Core/HLE/sceKernelMemory.cpp +++ b/Core/HLE/sceKernelMemory.cpp @@ -2377,7 +2377,6 @@ static int sceKernelDeleteHeap(int heapId) userMemory.Free(heap->address); kernelObjects.Destroy(heap->uid); heapInformationList.erase(heapId); - delete heap; return hleLogError(SCEKERNEL, 0, ""); }