From 87e3ddadf726e91c7337c60c9ed616904b2d5340 Mon Sep 17 00:00:00 2001 From: CTCaer Date: Wed, 27 Aug 2025 15:48:24 +0300 Subject: [PATCH] nyx: part mgr: remove gpt 126 entries check It's done before to validate GPT anyway --- nyx/nyx_gui/frontend/gui_tools_partition_manager.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/nyx/nyx_gui/frontend/gui_tools_partition_manager.c b/nyx/nyx_gui/frontend/gui_tools_partition_manager.c index 54ea0b2d..92398377 100644 --- a/nyx/nyx_gui/frontend/gui_tools_partition_manager.c +++ b/nyx/nyx_gui/frontend/gui_tools_partition_manager.c @@ -1213,9 +1213,6 @@ static u32 _get_available_l4t_partition() size_sct = (gpt->entries[i].lba_end + 1) - gpt->entries[i].lba_start; break; } - - if (i > 126) - break; } } else @@ -1262,9 +1259,6 @@ static int _get_available_android_partition() return found; } } - - if (i > 126) - break; } out: @@ -1698,6 +1692,7 @@ dtb_not_found: } free(buf); } + free(rec); error: if (boot_recovery)