From 78b0d8ed8e5d8b5c0747c5f0658f1cef5d1a1269 Mon Sep 17 00:00:00 2001 From: deref3046 Date: Wed, 1 Jul 2026 12:40:39 +0800 Subject: [PATCH] fix doublefree --- submodules/patcher/src/patchs/core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/submodules/patcher/src/patchs/core.c b/submodules/patcher/src/patchs/core.c index 76bfe23b..e3fc8055 100644 --- a/submodules/patcher/src/patchs/core.c +++ b/submodules/patcher/src/patchs/core.c @@ -191,7 +191,6 @@ bool PatchBuffer(char* data, int32_t size) { int32_t num_patches = patch_abl_bootstate(data, size, &lock_register_num, &offset); if (num_patches == 0) { printf("Error: Failed to find/patch ABL Boot State\n"); - free(data); return 0; } printf("Anchor offset : 0x%X\n", offset);