diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-26 15:37:37 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-26 15:37:37 +0100 |
| commit | 0476248f648ccddea9bdf9bae9095c3231e6643d (patch) | |
| tree | 61280ff1ad93b384a9697c0ee9d60854e12e58e9 /Source/String.cxx | |
| parent | ae89bf9564c59ea3aee10f175d473e562af793f8 (diff) | |
Kernel: Retarget AMD64 according to spec.
Kernel/Toolchain: Now move hKernel to /System/ when building the system.
MPT: Fix API.
newBoot: This is the priority, get a standard file layout to load the
kernel at BK_START_KERNEL (0x00080000)
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Source/String.cxx')
| -rw-r--r-- | Source/String.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/String.cxx b/Source/String.cxx index 86194812..3ad2a0cd 100644 --- a/Source/String.cxx +++ b/Source/String.cxx @@ -7,7 +7,6 @@ * ======================================================== */ -#include <NewKit/KHeap.hpp> #include <NewKit/String.hpp> #include <NewKit/Utils.hpp> @@ -103,7 +102,6 @@ namespace hCore if (!to_str(result, sizeof(int), i)) { - delete[] ret; return ("-1"); } @@ -211,7 +209,6 @@ namespace hCore if (lhs && rhs && cur < string_length(lhs)) { - SizeT sz_lhs = string_length(lhs); SizeT sz_rhs = string_length(rhs); rt_copy_memory(rhs, lhs + cur, sz_rhs); |
